Class JavaSourceDefaultConstructor
- java.lang.Object
-
- gw.internal.gosu.parser.java.classinfo.JavaSourceDefaultConstructor
-
- All Implemented Interfaces:
IJavaAnnotatedElement,IJavaClassConstructor,Serializable
public class JavaSourceDefaultConstructor extends Object implements IJavaClassConstructor
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JavaSourceDefaultConstructor(IJavaClassInfo classInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IParameterInfo[]convertGenericParameterTypes(IFeatureInfo container, TypeVarToTypeMap actualParamByVarName)IAnnotationInfogetAnnotation(Class annotationClass)IAnnotationInfo[]getDeclaredAnnotations()IJavaClassInfogetEnclosingClass()IJavaClassInfo[]getExceptionTypes()intgetModifiers()List<Parameter>getParameterInfos()IJavaClassInfo[]getParameterTypes()booleanisAnnotationPresent(Class<? extends Annotation> annotationClass)booleanisDefault()ObjectnewInstance(Object... objects)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gw.lang.reflect.java.IJavaAnnotatedElement
getLocationInfo
-
-
-
-
Constructor Detail
-
JavaSourceDefaultConstructor
public JavaSourceDefaultConstructor(IJavaClassInfo classInfo)
-
-
Method Detail
-
getParameterInfos
public List<Parameter> getParameterInfos()
- Specified by:
getParameterInfosin interfaceIJavaClassConstructor
-
convertGenericParameterTypes
public IParameterInfo[] convertGenericParameterTypes(IFeatureInfo container, TypeVarToTypeMap actualParamByVarName)
- Specified by:
convertGenericParameterTypesin interfaceIJavaClassConstructor
-
getEnclosingClass
public IJavaClassInfo getEnclosingClass()
- Specified by:
getEnclosingClassin interfaceIJavaAnnotatedElement
-
getExceptionTypes
public IJavaClassInfo[] getExceptionTypes()
- Specified by:
getExceptionTypesin interfaceIJavaClassConstructor
-
getModifiers
public int getModifiers()
- Specified by:
getModifiersin interfaceIJavaClassConstructor
-
getParameterTypes
public IJavaClassInfo[] getParameterTypes()
- Specified by:
getParameterTypesin interfaceIJavaClassConstructor
-
getAnnotation
public IAnnotationInfo getAnnotation(Class annotationClass)
- Specified by:
getAnnotationin interfaceIJavaAnnotatedElement
-
getDeclaredAnnotations
public IAnnotationInfo[] getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotationsin interfaceIJavaAnnotatedElement
-
isAnnotationPresent
public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
- Specified by:
isAnnotationPresentin interfaceIJavaAnnotatedElement
-
newInstance
public Object newInstance(Object... objects) throws InvocationTargetException, IllegalAccessException, InstantiationException
- Specified by:
newInstancein interfaceIJavaClassConstructor- Throws:
InvocationTargetExceptionIllegalAccessExceptionInstantiationException
-
isDefault
public boolean isDefault()
- Specified by:
isDefaultin interfaceIJavaClassConstructor
-
-