Class JavaSourceParameter
- java.lang.Object
-
- gw.lang.reflect.java.Parameter
-
- gw.internal.gosu.parser.java.classinfo.JavaSourceParameter
-
- All Implemented Interfaces:
IJavaAnnotatedElement
public class JavaSourceParameter extends Parameter implements IJavaAnnotatedElement
-
-
Constructor Summary
Constructors Constructor Description JavaSourceParameter(JavaSourceMethod sourceJavaMethod, VariableTree parameterTree)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IAnnotationInfogetAnnotation(Class<? extends Annotation> annotationClass)IAnnotationInfo[]getDeclaredAnnotations()JavaSourceTypegetEnclosingClass()IJavaClassTypegetGenericType()JavaSourceMethodgetMethod()IModifierListgetModifierList()StringgetName()IJavaClassInfogetType()booleanisAnnotationPresent(Class<? extends Annotation> annotationClass)StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface gw.lang.reflect.java.IJavaAnnotatedElement
getLocationInfo
-
-
-
-
Constructor Detail
-
JavaSourceParameter
public JavaSourceParameter(JavaSourceMethod sourceJavaMethod, VariableTree parameterTree)
-
-
Method Detail
-
getGenericType
public IJavaClassType getGenericType()
-
getType
public IJavaClassInfo getType()
-
getModifierList
public IModifierList getModifierList()
-
isAnnotationPresent
public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
- Specified by:
isAnnotationPresentin interfaceIJavaAnnotatedElement
-
getAnnotation
public IAnnotationInfo getAnnotation(Class<? extends Annotation> annotationClass)
- Specified by:
getAnnotationin interfaceIJavaAnnotatedElement
-
getDeclaredAnnotations
public IAnnotationInfo[] getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotationsin interfaceIJavaAnnotatedElement
-
getEnclosingClass
public JavaSourceType getEnclosingClass()
- Specified by:
getEnclosingClassin interfaceIJavaAnnotatedElement
-
getMethod
public JavaSourceMethod getMethod()
-
-