public class JavassistConstructorInfo extends JavassistAnnotatedParameterInfo implements MutableConstructorInfo
MutableConstructorInfo
MutableConstructorInfo
,
Serialized FormctBehavior, exceptionTypes, parameters, parameterTypes, typeInfo
annotationHelper, annotationMap, annotationsArray
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 and Description |
---|
JavassistConstructorInfo(SignatureKey signatureKey,
AnnotationHelper annotationHelper,
JavassistTypeInfo typeInfo,
javassist.CtConstructor ctConstructor)
Create a new JavassistConstructorInfo.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
protected javassist.CtConstructor |
getCtConstructor() |
protected int |
getHashCode() |
String |
getName() |
Object |
newInstance(Object[] args)
Create a new instance
|
protected void |
toString(org.jboss.util.JBossStringBuilder buffer) |
createParameterAnnotations, generateParameters, getAnnotations, getDeclaringClass, getDescriptor, getExceptionTypes, getMethodSignature, getModifiers, getParameters, getParameterTypes, getSignatureKey, isPublic, isStatic, isVolatile, setBody, setExceptions, setExceptions, setModifier, setParameters, setParameters, setupParameterAnnotations
getAnnotation, getAnnotations, isAnnotationPresent, setupAnnotations
getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, hashCode, list, notEqual, toShortString, toShortString, toString, toStringImplementation
finalize, getClass, notify, notifyAll, wait, wait, wait
setBody, setExceptions, setExceptions, setModifier, setParameters, setParameters
getExceptionTypes, getParameters, getParameterTypes
getAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresent
getDeclaringClass
getModifiers, isPublic, isStatic, isVolatile
public JavassistConstructorInfo(SignatureKey signatureKey, AnnotationHelper annotationHelper, JavassistTypeInfo typeInfo, javassist.CtConstructor ctConstructor)
annotationHelper
- the annotation helpertypeInfo
- the type infoctConstructor
- the constructorpublic Object newInstance(Object[] args) throws Throwable
ConstructorInfo
newInstance
in interface ConstructorInfo
args
- the argumentsThrowable
- for any errorprotected int getHashCode()
getHashCode
in class org.jboss.util.JBossObject
protected void toString(org.jboss.util.JBossStringBuilder buffer)
toString
in class org.jboss.util.JBossObject
protected javassist.CtConstructor getCtConstructor()
public String getName()
getName
in class JavassistAnnotatedParameterInfo
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.