org.jboss.reflect.plugins.javassist
Class JavassistParameterInfo

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.JavassistParameterInfo
All Implemented Interfaces:
Serializable, Cloneable, AnnotatedInfo, ParameterInfo, org.jboss.util.JBossInterface

public class JavassistParameterInfo
extends JavassistAnnotatedInfo
implements ParameterInfo

JavassistParameterInfo.

Version:
$Revision: 60147 $
Author:
Adrian Brock
See Also:
Serialized Form

Field Summary
 
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
JavassistParameterInfo(AnnotationHelper annotationHelper, JavassistAnnotatedParameterInfo annotated, int index, TypeInfo parameterType)
          Create a new JavassistParameterInfo.
 
Method Summary
 boolean equals(Object obj)
           
protected  JavassistAnnotatedInfo getAnnotated()
          Get the annotated info
 AnnotationValue[] getAnnotations()
          Get the annotations
protected  int getHashCode()
           
 String getName()
          Get the parameter name
 TypeInfo getParameterType()
          Get the parameter type
 void setAnnotations(AnnotationValue[] annotations)
           
 void toShortString(org.jboss.util.JBossStringBuilder buffer)
           
protected  void toString(org.jboss.util.JBossStringBuilder buffer)
           
 
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, hashCode, list, notEqual, 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.AnnotatedInfo
getAnnotation, getUnderlyingAnnotation, getUnderlyingAnnotations, isAnnotationPresent, isAnnotationPresent
 
Methods inherited from interface org.jboss.util.JBossInterface
clone, toShortString
 

Constructor Detail

JavassistParameterInfo

public JavassistParameterInfo(AnnotationHelper annotationHelper,
                              JavassistAnnotatedParameterInfo annotated,
                              int index,
                              TypeInfo parameterType)
Create a new JavassistParameterInfo.

Parameters:
annotationHelper - the annotation helper
annotated - the annotated object
index - the index
parameterType - the type
Method Detail

getAnnotated

protected JavassistAnnotatedInfo getAnnotated()
Get the annotated info

Returns:
the annotated

getName

public String getName()
Description copied from interface: ParameterInfo
Get the parameter name

Specified by:
getName in interface ParameterInfo
Returns:
the parameter name

getParameterType

public TypeInfo getParameterType()
Description copied from interface: ParameterInfo
Get the parameter type

Specified by:
getParameterType in interface ParameterInfo
Returns:
the parameter types

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getHashCode

protected int getHashCode()
Overrides:
getHashCode in class org.jboss.util.JBossObject

toShortString

public void toShortString(org.jboss.util.JBossStringBuilder buffer)
Specified by:
toShortString in interface org.jboss.util.JBossInterface
Overrides:
toShortString in class org.jboss.util.JBossObject

toString

protected void toString(org.jboss.util.JBossStringBuilder buffer)
Overrides:
toString in class org.jboss.util.JBossObject

getAnnotations

public AnnotationValue[] getAnnotations()
Description copied from interface: AnnotatedInfo
Get the annotations

Specified by:
getAnnotations in interface AnnotatedInfo
Returns:
the annotations

setAnnotations

public void setAnnotations(AnnotationValue[] annotations)


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