org.jboss.reflect.plugins
Class ParameterInfoImpl

java.lang.Object
  extended by org.jboss.util.JBossObject
      extended by org.jboss.reflect.plugins.AnnotationHolder
          extended by org.jboss.reflect.plugins.ParameterInfoImpl
All Implemented Interfaces:
Serializable, Cloneable, AnnotatedInfo, ParameterInfo, org.jboss.util.JBossInterface

public class ParameterInfoImpl
extends AnnotationHolder
implements ParameterInfo

Parameter info

Author:
Adrian Brock
See Also:
Serialized Form

Field Summary
protected  String name
          The parameter name
protected  TypeInfo parameterType
          The parameter type
 
Fields inherited from class org.jboss.reflect.plugins.AnnotationHolder
annotationMap, annotationsArray
 
Fields inherited from class org.jboss.util.JBossObject
hashCode, log, toString
 
Constructor Summary
ParameterInfoImpl()
          Create a new method info
ParameterInfoImpl(AnnotationValue[] annotations, String name, TypeInfo parameterType)
          Create a new MethodInfo.
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
          Get the parameter name
 TypeInfo getParameterType()
          Get the parameter type
 int hashCode()
           
 
Methods inherited from class org.jboss.reflect.plugins.AnnotationHolder
getAnnotation, getAnnotations, isAnnotationPresent, setupAnnotations
 
Methods inherited from class org.jboss.util.JBossObject
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, list, notEqual, toShortString, toShortString, toString, 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, getAnnotations, isAnnotationPresent
 
Methods inherited from interface org.jboss.util.JBossInterface
clone, toShortString, toShortString
 

Field Detail

name

protected String name
The parameter name


parameterType

protected TypeInfo parameterType
The parameter type

Constructor Detail

ParameterInfoImpl

public ParameterInfoImpl()
Create a new method info


ParameterInfoImpl

public ParameterInfoImpl(AnnotationValue[] annotations,
                         String name,
                         TypeInfo parameterType)
Create a new MethodInfo.

Parameters:
annotations - the annotations
name - the method name
parameterType - the parameter type
Method Detail

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

hashCode

public int hashCode()
Overrides:
hashCode in class org.jboss.util.JBossObject


Copyright © 2004 JBoss Inc. All Rights Reserved.