public class ConstructorInfoImpl extends AnnotationHolder implements ConstructorInfo
| Modifier and Type | Field and Description |
|---|---|
protected ClassInfo |
declaringClass
The declring class
|
protected ClassInfo[] |
exceptionTypes
The exception types
|
protected int |
hash
The hash code
|
protected int |
modifiers
The modifiers
|
protected ParameterInfo[] |
parameters
The parameters
|
protected TypeInfo[] |
parameterTypes
The parameter types
|
annotationMap, 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 |
|---|
ConstructorInfoImpl()
Create a new ConstructorInfo.
|
ConstructorInfoImpl(AnnotationValue[] annotations,
ParameterInfo[] parameters,
ClassInfo[] exceptionTypes,
int modifiers,
ClassInfo declaring)
Create a new ConstructorInfo.
|
ConstructorInfoImpl(AnnotationValue[] annotations,
TypeInfo[] parameterTypes,
AnnotationValue[][] parameterAnnotations,
ClassInfo[] exceptionTypes,
int modifiers,
ClassInfo declaring)
Create a new ConstructorInfo.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
calculateHash() |
boolean |
equals(Object obj) |
ClassInfo |
getDeclaringClass()
Get the declaring class
|
ClassInfo[] |
getExceptionTypes()
Get the exception types
|
int |
getModifiers()
Get the modifiers
|
ParameterInfo[] |
getParameters()
Get the parameters
|
TypeInfo[] |
getParameterTypes()
Get the parameter types
|
int |
hashCode() |
boolean |
isPublic()
Whether it is public
|
boolean |
isStatic()
Whether it is static
|
boolean |
isVolatile()
Whether it is volatile
|
Object |
newInstance(Object[] args)
Create a new instance
|
protected void |
toString(org.jboss.util.JBossStringBuilder buffer) |
getAnnotation, 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 ClassInfo declaringClass
protected TypeInfo[] parameterTypes
protected ParameterInfo[] parameters
protected ClassInfo[] exceptionTypes
protected int modifiers
protected int hash
public ConstructorInfoImpl()
public ConstructorInfoImpl(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 ConstructorInfoImpl(AnnotationValue[] annotations, ParameterInfo[] parameters, ClassInfo[] exceptionTypes, int modifiers, ClassInfo declaring)
annotations - the annotationsparameters - the parametersexceptionTypes - the exception typesmodifiers - the modifiersdeclaring - the declaring classpublic ClassInfo getDeclaringClass()
MemberInfogetDeclaringClass in interface MemberInfopublic TypeInfo[] getParameterTypes()
ConstructorInfogetParameterTypes in interface ConstructorInfopublic ParameterInfo[] getParameters()
ConstructorInfogetParameters in interface ConstructorInfopublic ClassInfo[] getExceptionTypes()
ConstructorInfogetExceptionTypes in interface ConstructorInfopublic int getModifiers()
ModifierInfogetModifiers in interface ModifierInfopublic boolean isStatic()
ModifierInfoisStatic in interface ModifierInfopublic boolean isPublic()
ModifierInfoisPublic in interface ModifierInfopublic boolean isVolatile()
ModifierInfoisVolatile in interface ModifierInfopublic Object newInstance(Object[] args) throws Throwable
ConstructorInfonewInstance in interface ConstructorInfoargs - the argumentsThrowable - for any errorprotected void toString(org.jboss.util.JBossStringBuilder buffer)
toString in class org.jboss.util.JBossObjectpublic int hashCode()
hashCode in class org.jboss.util.JBossObjectprotected void calculateHash()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.