|
JBoss Reflection 2.2.1.SP1 | |||||||||
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.AbstractAnnotatedInfo
org.jboss.reflect.plugins.bytecode.BytecodeAnnotatedInfo
org.jboss.reflect.plugins.bytecode.BytecodeBehaviourInfo
org.jboss.reflect.plugins.bytecode.BytecodeConstructorInfo
public class BytecodeConstructorInfo
ConstructorInfo that relies on Javassist to answer reflective queries and to invoke
the represented constructor.
This class also relies on Javassist to perform the instrumentation operations defined in
MutableConstructorInfo
MutableConstructorInfo
,
Serialized FormField Summary |
---|
Fields inherited from class org.jboss.reflect.plugins.bytecode.BytecodeBehaviourInfo |
---|
behaviour, exceptionTypes, parameters, parameterTypes, typeInfo |
Fields inherited from class org.jboss.reflect.plugins.bytecode.BytecodeAnnotatedInfo |
---|
annotationHelper, 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 | |
---|---|
BytecodeConstructorInfo(AnnotationHelper annotationHelper,
BytecodeTypeInfo typeInfo,
ConstructorBytes constructor)
Create a new JavassistConstructorInfo. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
protected int |
getHashCode()
|
String |
getName()
|
Object |
newInstance(Object[] args)
Create a new instance |
protected void |
toString(org.jboss.util.JBossStringBuilder buffer)
|
Methods inherited from class org.jboss.reflect.plugins.bytecode.BytecodeBehaviourInfo |
---|
createParameterAnnotations, generateParameters, getAnnotations, getDeclaringClass, getDescriptor, getExceptionTypes, getMethodSignature, getModifiers, getParameters, getParameterTypes, getSignatureKey, isPublic, isStatic, isVolatile, setupParameterAnnotations |
Methods inherited from class org.jboss.reflect.plugins.bytecode.BytecodeAnnotatedInfo |
---|
getAnnotation, getAnnotations, isAnnotationPresent, setupAnnotations |
Methods inherited from class org.jboss.reflect.plugins.AbstractAnnotatedInfo |
---|
getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent |
Methods inherited from class org.jboss.util.JBossObject |
---|
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, hashCode, 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.ConstructorInfo |
---|
getExceptionTypes, getParameters, getParameterTypes |
Methods inherited from interface org.jboss.reflect.spi.AnnotatedInfo |
---|
getAnnotation, getAnnotations, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresent |
Methods inherited from interface org.jboss.util.JBossInterface |
---|
clone, toShortString, toShortString |
Methods inherited from interface org.jboss.reflect.spi.MemberInfo |
---|
getDeclaringClass |
Methods inherited from interface org.jboss.reflect.spi.ModifierInfo |
---|
getModifiers, isPublic, isStatic, isVolatile |
Constructor Detail |
---|
public BytecodeConstructorInfo(AnnotationHelper annotationHelper, BytecodeTypeInfo typeInfo, ConstructorBytes constructor)
annotationHelper
- the annotation helpertypeInfo
- the type infoconstructor
- the constructorMethod Detail |
---|
public Object newInstance(Object[] args) throws Throwable
ConstructorInfo
newInstance
in interface ConstructorInfo
args
- the arguments
Throwable
- for any errorprotected int getHashCode()
getHashCode
in class org.jboss.util.JBossObject
public boolean equals(Object obj)
equals
in class Object
protected void toString(org.jboss.util.JBossStringBuilder buffer)
toString
in class org.jboss.util.JBossObject
public String getName()
getName
in class BytecodeBehaviourInfo
|
JBoss Reflection 2.2.1.SP1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |