Package gw.internal.gosu.parser
Class ConstructorJavaClassConstructor
- java.lang.Object
-
- gw.internal.gosu.parser.ConstructorJavaClassConstructor
-
- All Implemented Interfaces:
IJavaAnnotatedElement,IJavaClassBytecodeConstructor,IJavaClassConstructor,Serializable
public class ConstructorJavaClassConstructor extends Object implements IJavaClassConstructor, IJavaClassBytecodeConstructor
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConstructorJavaClassConstructor(Constructor ctor, IModule module)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IParameterInfo[]convertGenericParameterTypes(IFeatureInfo container, TypeVarToTypeMap actualParamByVarName)IAnnotationInfogetAnnotation(Class annotationClass)IAnnotationInfo[]getDeclaredAnnotations()ClassgetDeclaringJavaClass()IJavaClassInfogetEnclosingClass()IJavaClassInfo[]getExceptionTypes()ConstructorgetJavaConstructor()Class[]getJavaParameterTypes()intgetModifiers()List<Parameter>getParameterInfos()IJavaClassInfo[]getParameterTypes()booleanisAnnotationPresent(Class<? extends Annotation> annotationClass)booleanisDefault()booleanisSynthetic()ObjectnewInstance(Object[] objects)voidsetAccessible(boolean accessible)-
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
-
ConstructorJavaClassConstructor
public ConstructorJavaClassConstructor(Constructor ctor, IModule module)
-
-
Method Detail
-
setAccessible
public void setAccessible(boolean accessible)
-
getDeclaringJavaClass
public Class getDeclaringJavaClass()
-
getExceptionTypes
public IJavaClassInfo[] getExceptionTypes()
- Specified by:
getExceptionTypesin interfaceIJavaClassConstructor
-
getParameterInfos
public List<Parameter> getParameterInfos()
- Specified by:
getParameterInfosin interfaceIJavaClassConstructor
-
getModifiers
public int getModifiers()
- Specified by:
getModifiersin interfaceIJavaClassConstructor
-
isSynthetic
public boolean isSynthetic()
- Specified by:
isSyntheticin interfaceIJavaClassBytecodeConstructor
-
convertGenericParameterTypes
public IParameterInfo[] convertGenericParameterTypes(IFeatureInfo container, TypeVarToTypeMap actualParamByVarName)
- Specified by:
convertGenericParameterTypesin interfaceIJavaClassConstructor
-
getParameterTypes
public IJavaClassInfo[] getParameterTypes()
- Specified by:
getParameterTypesin interfaceIJavaClassConstructor
-
getJavaParameterTypes
public Class[] getJavaParameterTypes()
-
newInstance
public Object newInstance(Object[] objects) throws InvocationTargetException, IllegalAccessException, InstantiationException
- Specified by:
newInstancein interfaceIJavaClassConstructor- Throws:
InvocationTargetExceptionIllegalAccessExceptionInstantiationException
-
isDefault
public boolean isDefault()
- Specified by:
isDefaultin interfaceIJavaClassConstructor
-
isAnnotationPresent
public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
- Specified by:
isAnnotationPresentin interfaceIJavaAnnotatedElement
-
getAnnotation
public IAnnotationInfo getAnnotation(Class annotationClass)
- Specified by:
getAnnotationin interfaceIJavaAnnotatedElement
-
getDeclaredAnnotations
public IAnnotationInfo[] getDeclaredAnnotations()
- Specified by:
getDeclaredAnnotationsin interfaceIJavaAnnotatedElement
-
getJavaConstructor
public Constructor getJavaConstructor()
-
getEnclosingClass
public IJavaClassInfo getEnclosingClass()
- Specified by:
getEnclosingClassin interfaceIJavaAnnotatedElement
-
-