public class ReflectConstructorInfoImpl extends ConstructorInfoImpl
| Modifier and Type | Field and Description |
|---|---|
protected Constructor<?> |
constructor
The constructor
|
declaringClass, exceptionTypes, hash, modifiers, parameters, parameterTypesannotationMap, annotationsArrayABSTRACT, CONSTANT, FINAL, PACKAGE, PACKAGE_ABSTRACT, PACKAGE_CONSTANT, PACKAGE_STATIC, PRIVATE, PRIVATE_CONSTANT, PRIVATE_STATIC, PROTECTED, PROTECTED_ABSTRACT, PROTECTED_CONSTANT, PROTECTED_STATIC, PUBLIC, PUBLIC_ABSTRACT, PUBLIC_CONSTANT, PUBLIC_STATIC, STATIC| Constructor and Description |
|---|
ReflectConstructorInfoImpl()
Create a new ConstructorInfo.
|
ReflectConstructorInfoImpl(AnnotationValue[] annotations,
ParameterInfo[] parameters,
ClassInfo[] exceptionTypes,
int modifiers,
ClassInfo declaring)
Create a new ConstructorInfo.
|
ReflectConstructorInfoImpl(AnnotationValue[] annotations,
TypeInfo[] parameterTypes,
AnnotationValue[][] parameterAnnotations,
ClassInfo[] exceptionTypes,
int modifiers,
ClassInfo declaring)
Create a new ConstructorInfo.
|
| Modifier and Type | Method and Description |
|---|---|
Constructor<?> |
getConstructor()
Get the constructor
|
Object |
newInstance(Object[] args)
Create a new instance
|
void |
setConstructor(Constructor<?> constructor)
Set the constructor
|
calculateHash, equals, getDeclaringClass, getExceptionTypes, getModifiers, getParameters, getParameterTypes, hashCode, isPublic, isStatic, isVolatile, toStringgetAnnotation, getAnnotations, isAnnotationPresent, setupAnnotationsgetUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresentcacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, list, notEqual, toShortString, toShortString, toString, toStringImplementationfinalize, getClass, notify, notifyAll, wait, wait, waitgetAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresentprotected transient Constructor<?> constructor
public ReflectConstructorInfoImpl()
public ReflectConstructorInfoImpl(AnnotationValue[] annotations, TypeInfo[] parameterTypes, AnnotationValue[][] parameterAnnotations, ClassInfo[] exceptionTypes, int modifiers, ClassInfo declaring)
annotations - the annotationsparameterTypes - the parameter typesparameterAnnotations - the parameter annotationsexceptionTypes - the exception typesmodifiers - the modifiersdeclaring - the declaring classpublic ReflectConstructorInfoImpl(AnnotationValue[] annotations, ParameterInfo[] parameters, ClassInfo[] exceptionTypes, int modifiers, ClassInfo declaring)
annotations - the annotationsparameters - the parametersexceptionTypes - the exception typesmodifiers - the modifiersdeclaring - the declaring classpublic void setConstructor(Constructor<?> constructor)
constructor - the constructorpublic Constructor<?> getConstructor()
public Object newInstance(Object[] args) throws Throwable
ConstructorInfonewInstance in interface ConstructorInfonewInstance in class ConstructorInfoImplargs - the argumentsThrowable - for any errorCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.