org.jboss.reflect.plugins.javassist
Class JavassistAnnotatedParameterInfo
java.lang.Object
org.jboss.util.JBossObject
org.jboss.reflect.plugins.AbstractAnnotatedInfo
org.jboss.reflect.plugins.javassist.JavassistAnnotatedInfo
org.jboss.reflect.plugins.javassist.JavassistAnnotatedParameterInfo
- All Implemented Interfaces:
- Serializable, Cloneable, AnnotatedInfo, org.jboss.util.JBossInterface
- Direct Known Subclasses:
- JavassistConstructorInfo, JavassistMethodInfo
public abstract class JavassistAnnotatedParameterInfo
- extends JavassistAnnotatedInfo
- Version:
- $Revision: 105060 $
- Author:
- Kabir Khan
- See Also:
- Serialized Form
Fields inherited from class org.jboss.util.JBossObject |
hashCode, log, toString |
Methods inherited from class org.jboss.util.JBossObject |
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toShortString, toString, toString, toStringImplementation |
Methods inherited from interface org.jboss.util.JBossInterface |
clone, toShortString, toShortString |
parameters
protected transient volatile ParameterInfo[] parameters
- The parameters
parameterTypes
protected transient volatile TypeInfo[] parameterTypes
- The parameter types
exceptionTypes
protected transient volatile ClassInfo[] exceptionTypes
- The exception types
typeInfo
protected final JavassistTypeInfo typeInfo
- The type info
ctBehavior
protected final javassist.CtBehavior ctBehavior
- The constructor or method
JavassistAnnotatedParameterInfo
public JavassistAnnotatedParameterInfo(SignatureKey signatureKey,
AnnotationHelper annotationHelper,
JavassistTypeInfo typeInfo,
javassist.CtBehavior ctBehavior)
getModifiers
public int getModifiers()
isPublic
public boolean isPublic()
isStatic
public boolean isStatic()
isVolatile
public boolean isVolatile()
getDeclaringClass
public JavassistTypeInfo getDeclaringClass()
getExceptionTypes
public ClassInfo[] getExceptionTypes()
generateParameters
protected void generateParameters()
getParameters
public ParameterInfo[] getParameters()
getParameterTypes
public TypeInfo[] getParameterTypes()
getAnnotations
public AnnotationValue[] getAnnotations()
- Description copied from interface:
AnnotatedInfo
- Get the annotations
- Returns:
- the annotations. If there are no annotations a zero length array is returned
getName
public abstract String getName()
setupParameterAnnotations
protected void setupParameterAnnotations(Object[][] annotations)
createParameterAnnotations
protected void createParameterAnnotations()
setBody
public void setBody(Body body)
setExceptions
public void setExceptions(String[] exceptions)
setExceptions
public void setExceptions(ClassInfo[] exceptions)
setModifier
public void setModifier(ModifierInfo mi)
setParameters
public void setParameters(String[] parameters)
setParameters
public void setParameters(ClassInfo[] parameters)
getMethodSignature
protected javassist.bytecode.SignatureAttribute.MethodSignature getMethodSignature()
getSignatureKey
public SignatureKey getSignatureKey()
getDescriptor
public String getDescriptor()
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.