com.thoughtworks.qdox.model
Class JavaParameter

java.lang.Object
  extended by com.thoughtworks.qdox.model.JavaParameter
All Implemented Interfaces:
Serializable

public class JavaParameter
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static JavaParameter[] EMPTY_ARRAY
           
 
Constructor Summary
JavaParameter(Type type, String name)
           
JavaParameter(Type type, String name, boolean varArgs)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
           
 JavaMethod getParentMethod()
           
 String getResolvedGenericValue()
           
 String getResolvedValue()
           
 Type getType()
           
 int hashCode()
           
 boolean isVarArgs()
          Is this a Java 5 var args type specified using three dots.
 void setParentMethod(JavaMethod parentMethod)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

EMPTY_ARRAY

public static final JavaParameter[] EMPTY_ARRAY
Constructor Detail

JavaParameter

public JavaParameter(Type type,
                     String name)

JavaParameter

public JavaParameter(Type type,
                     String name,
                     boolean varArgs)
Method Detail

getName

public String getName()

getType

public Type getType()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getParentMethod

public JavaMethod getParentMethod()

setParentMethod

public void setParentMethod(JavaMethod parentMethod)

isVarArgs

public boolean isVarArgs()
Is this a Java 5 var args type specified using three dots. e.g. void doStuff(Object... thing)

Since:
1.6

toString

public String toString()
Overrides:
toString in class Object

getResolvedValue

public String getResolvedValue()
Returns:
the resolved value if the method has typeParameters, otherwise type's value
Since:
1.10

getResolvedGenericValue

public String getResolvedGenericValue()


Copyright © 2002-2010. All Rights Reserved.