org.jboss.reflect.plugins.javassist
Class JavassistParameterInfo
java.lang.Object
org.jboss.util.JBossObject
org.jboss.reflect.plugins.AbstractAnnotatedInfo
org.jboss.reflect.plugins.javassist.JavassistAnnotatedInfo
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: 103926 $
- Author:
- Adrian Brock
- 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, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
Methods inherited from interface org.jboss.util.JBossInterface |
clone, toShortString |
JavassistParameterInfo
public JavassistParameterInfo(AnnotationHelper annotationHelper,
JavassistAnnotatedParameterInfo annotated,
int index,
TypeInfo parameterType)
- Create a new JavassistParameterInfo.
- Parameters:
annotationHelper
- the annotation helperannotated
- the annotated objectindex
- the indexparameterType
- the type
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. If there are no annotations a zero length array is returned
setAnnotations
public void setAnnotations(AnnotationValue[] annotations)
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.