|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.reflect.plugins.AnnotationHolder
org.jboss.reflect.plugins.ConstructorInfoImpl
public class ConstructorInfoImpl
Constructor info
Field Summary | |
---|---|
protected Constructor |
constructor
The constructor |
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 |
Fields inherited from class org.jboss.reflect.plugins.AnnotationHolder |
---|
annotationMap, annotationsArray |
Fields inherited from class org.jboss.util.JBossObject |
---|
hashCode, log, toString |
Fields inherited from interface org.jboss.reflect.spi.ModifierInfo |
---|
ABSTRACT, 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 Summary | |
---|---|
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,
ClassInfo[] exceptionTypes,
int modifiers,
ClassInfo declaring)
Create a new ConstructorInfo. |
Method Summary | |
---|---|
protected void |
calculateHash()
|
boolean |
equals(Object obj)
|
Constructor |
getConstructor()
Get the constructor |
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 |
void |
setConstructor(Constructor constructor)
Set the constructor |
protected void |
toString(org.jboss.util.JBossStringBuilder buffer)
|
Methods inherited from class org.jboss.reflect.plugins.AnnotationHolder |
---|
getAnnotation, getAnnotations, isAnnotationPresent, setupAnnotations |
Methods inherited from class org.jboss.util.JBossObject |
---|
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, list, notEqual, toShortString, toShortString, toString, toStringImplementation |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.reflect.spi.AnnotatedInfo |
---|
getAnnotation, getAnnotations, isAnnotationPresent |
Methods inherited from interface org.jboss.util.JBossInterface |
---|
clone, toShortString, toShortString |
Field Detail |
---|
protected Constructor constructor
protected ClassInfo declaringClass
protected TypeInfo[] parameterTypes
protected ParameterInfo[] parameters
protected ClassInfo[] exceptionTypes
protected int modifiers
protected int hash
Constructor Detail |
---|
public ConstructorInfoImpl()
public ConstructorInfoImpl(AnnotationValue[] annotations, TypeInfo[] parameterTypes, ClassInfo[] exceptionTypes, int modifiers, ClassInfo declaring)
annotations
- the annotationsparameterTypes
- the parameter typesexceptionTypes
- 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 classMethod Detail |
---|
public void setConstructor(Constructor constructor)
constructor
- the constructorpublic Constructor getConstructor()
ConstructorInfo
getConstructor
in interface ConstructorInfo
public ClassInfo getDeclaringClass()
ConstructorInfo
getDeclaringClass
in interface ConstructorInfo
getDeclaringClass
in interface MemberInfo
public TypeInfo[] getParameterTypes()
ConstructorInfo
getParameterTypes
in interface ConstructorInfo
public ParameterInfo[] getParameters()
ConstructorInfo
getParameters
in interface ConstructorInfo
public ClassInfo[] getExceptionTypes()
ConstructorInfo
getExceptionTypes
in interface ConstructorInfo
public int getModifiers()
ModifierInfo
getModifiers
in interface ModifierInfo
public boolean isStatic()
ModifierInfo
isStatic
in interface ModifierInfo
public boolean isPublic()
ModifierInfo
isPublic
in interface ModifierInfo
protected void toString(org.jboss.util.JBossStringBuilder buffer)
toString
in class org.jboss.util.JBossObject
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class org.jboss.util.JBossObject
protected void calculateHash()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |