JBoss Reflection 2.2.1.SP1

org.jboss.reflect.plugins.javassist
Class JavassistAnnotatedParameterInfo

java.lang.Object
  extended by org.jboss.util.JBossObject
      extended by org.jboss.reflect.plugins.AbstractAnnotatedInfo
          extended by org.jboss.reflect.plugins.javassist.JavassistAnnotatedInfo
              extended by 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

Field Summary
protected  javassist.CtBehavior ctBehavior
          The constructor or method
protected  ClassInfo[] exceptionTypes
          The exception types
protected  ParameterInfo[] parameters
          The parameters
protected  TypeInfo[] parameterTypes
          The parameter types
protected  JavassistTypeInfo typeInfo
          The type info
 
Fields inherited from class org.jboss.reflect.plugins.javassist.JavassistAnnotatedInfo
annotationHelper, annotationMap, annotationsArray
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
JavassistAnnotatedParameterInfo(SignatureKey signatureKey, AnnotationHelper annotationHelper, JavassistTypeInfo typeInfo, javassist.CtBehavior ctBehavior)
           
 
Method Summary
protected  void createParameterAnnotations()
           
protected  void generateParameters()
           
 AnnotationValue[] getAnnotations()
          Get the annotations
 JavassistTypeInfo getDeclaringClass()
           
 String getDescriptor()
           
 ClassInfo[] getExceptionTypes()
           
protected  javassist.bytecode.SignatureAttribute.MethodSignature getMethodSignature()
           
 int getModifiers()
           
abstract  String getName()
           
 ParameterInfo[] getParameters()
           
 TypeInfo[] getParameterTypes()
           
 SignatureKey getSignatureKey()
           
 boolean isPublic()
           
 boolean isStatic()
           
 boolean isVolatile()
           
 void setBody(Body body)
           
 void setExceptions(ClassInfo[] exceptions)
           
 void setExceptions(String[] exceptions)
           
 void setModifier(ModifierInfo mi)
           
 void setParameters(ClassInfo[] parameters)
           
 void setParameters(String[] parameters)
           
protected  void setupParameterAnnotations(Object[][] annotations)
           
 
Methods inherited from class org.jboss.reflect.plugins.javassist.JavassistAnnotatedInfo
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, getHashCode, hashCode, list, notEqual, toShortString, toShortString, toString, toString, toStringImplementation
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.util.JBossInterface
clone, toShortString, toShortString
 

Field Detail

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

Constructor Detail

JavassistAnnotatedParameterInfo

public JavassistAnnotatedParameterInfo(SignatureKey signatureKey,
                                       AnnotationHelper annotationHelper,
                                       JavassistTypeInfo typeInfo,
                                       javassist.CtBehavior ctBehavior)
Method Detail

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()

JBoss Reflection 2.2.1.SP1

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.