public class JavassistConstructorInfo extends JavassistAnnotatedParameterInfo implements ConstructorInfo
exceptionTypes, parameters, parameterTypes, typeInfoannotationHelper, 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 |
|---|
JavassistConstructorInfo(AnnotationHelper annotationHelper,
JavassistTypeInfo typeInfo,
javassist.CtConstructor ctConstructor)
Create a new JavassistConstructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
createParameterAnnotations() |
boolean |
equals(Object obj) |
protected void |
generateParameters()
Generate parameters
|
AnnotationValue[] |
getAnnotations()
Get the annotations
|
ClassInfo |
getDeclaringClass()
Get the declaring class
|
ClassInfo[] |
getExceptionTypes()
Get the exception types
|
protected int |
getHashCode() |
int |
getModifiers()
Get the modifiers
|
ParameterInfo[] |
getParameters()
Get the parameters
|
TypeInfo[] |
getParameterTypes()
Get the parameter types
|
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) |
setupParameterAnnotationsgetAnnotation, getAnnotations, isAnnotationPresent, setupAnnotationsgetUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresentcacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, hashCode, list, notEqual, toShortString, toShortString, toString, toStringImplementationfinalize, getClass, notify, notifyAll, wait, wait, waitgetAnnotation, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresentpublic JavassistConstructorInfo(AnnotationHelper annotationHelper, JavassistTypeInfo typeInfo, javassist.CtConstructor ctConstructor)
annotationHelper - the annotation helpertypeInfo - the type ifoctConstructor - the constructorpublic int getModifiers()
ModifierInfogetModifiers in interface ModifierInfopublic boolean isPublic()
ModifierInfoisPublic in interface ModifierInfopublic boolean isStatic()
ModifierInfoisStatic in interface ModifierInfopublic boolean isVolatile()
ModifierInfoisVolatile in interface ModifierInfopublic ClassInfo getDeclaringClass()
MemberInfogetDeclaringClass in interface MemberInfopublic ClassInfo[] getExceptionTypes()
ConstructorInfogetExceptionTypes in interface ConstructorInfopublic ParameterInfo[] getParameters()
ConstructorInfogetParameters in interface ConstructorInfopublic TypeInfo[] getParameterTypes()
ConstructorInfogetParameterTypes in interface ConstructorInfopublic Object newInstance(Object[] args) throws Throwable
ConstructorInfonewInstance in interface ConstructorInfoargs - the argumentsThrowable - for any errorprotected int getHashCode()
getHashCode in class org.jboss.util.JBossObjectprotected void toString(org.jboss.util.JBossStringBuilder buffer)
toString in class org.jboss.util.JBossObjectprotected void generateParameters()
public AnnotationValue[] getAnnotations()
AnnotatedInfogetAnnotations in interface AnnotatedInfoprotected void createParameterAnnotations()
createParameterAnnotations in class JavassistAnnotatedParameterInfoCopyright © 2016 JBoss by Red Hat. All rights reserved.