public class ConstructorJavaClassConstructor extends Object implements IJavaClassConstructor, IJavaClassBytecodeConstructor
| Constructor and Description |
|---|
ConstructorJavaClassConstructor(Constructor ctor,
IModule module) |
| Modifier and Type | Method and Description |
|---|---|
IParameterInfo[] |
convertGenericParameterTypes(IFeatureInfo container,
TypeVarToTypeMap actualParamByVarName) |
IAnnotationInfo |
getAnnotation(Class annotationClass) |
IAnnotationInfo[] |
getDeclaredAnnotations() |
Class |
getDeclaringJavaClass() |
IJavaClassInfo |
getEnclosingClass() |
IJavaClassInfo[] |
getExceptionTypes() |
Constructor |
getJavaConstructor() |
Class[] |
getJavaParameterTypes() |
int |
getModifiers() |
List<Parameter> |
getParameterInfos() |
IJavaClassInfo[] |
getParameterTypes() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationClass) |
boolean |
isDefault() |
boolean |
isSynthetic() |
Object |
newInstance(Object[] objects) |
void |
setAccessible(boolean accessible) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLocationInfopublic ConstructorJavaClassConstructor(Constructor ctor, IModule module)
public void setAccessible(boolean accessible)
public Class getDeclaringJavaClass()
public IJavaClassInfo[] getExceptionTypes()
getExceptionTypes in interface IJavaClassConstructorpublic List<Parameter> getParameterInfos()
getParameterInfos in interface IJavaClassConstructorpublic int getModifiers()
getModifiers in interface IJavaClassConstructorpublic boolean isSynthetic()
isSynthetic in interface IJavaClassBytecodeConstructorpublic IParameterInfo[] convertGenericParameterTypes(IFeatureInfo container, TypeVarToTypeMap actualParamByVarName)
convertGenericParameterTypes in interface IJavaClassConstructorpublic IJavaClassInfo[] getParameterTypes()
getParameterTypes in interface IJavaClassConstructorpublic Class[] getJavaParameterTypes()
public Object newInstance(Object[] objects) throws InvocationTargetException, IllegalAccessException, InstantiationException
newInstance in interface IJavaClassConstructorInvocationTargetExceptionIllegalAccessExceptionInstantiationExceptionpublic boolean isDefault()
isDefault in interface IJavaClassConstructorpublic boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
isAnnotationPresent in interface IJavaAnnotatedElementpublic IAnnotationInfo getAnnotation(Class annotationClass)
getAnnotation in interface IJavaAnnotatedElementpublic IAnnotationInfo[] getDeclaredAnnotations()
getDeclaredAnnotations in interface IJavaAnnotatedElementpublic Constructor getJavaConstructor()
public IJavaClassInfo getEnclosingClass()
getEnclosingClass in interface IJavaAnnotatedElementCopyright © 2017. All rights reserved.