com.thoughtworks.qdox.model

Class JavaParameter

public class JavaParameter extends Object implements Serializable

Field Summary
static JavaParameter[]EMPTY_ARRAY
Constructor Summary
JavaParameter(Type type, String name)
JavaParameter(Type type, String name, boolean varArgs)
Method Summary
booleanequals(Object obj)
StringgetName()
JavaMethodgetParentMethod()
StringgetResolvedGenericValue()
StringgetResolvedValue()
TypegetType()
inthashCode()
booleanisVarArgs()
Is this a Java 5 var args type specified using three dots. e.g. void doStuff(Object... thing)
voidsetParentMethod(JavaMethod parentMethod)
StringtoString()

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

equals

public boolean equals(Object obj)

getName

public String getName()

getParentMethod

public JavaMethod getParentMethod()

getResolvedGenericValue

public String getResolvedGenericValue()

getResolvedValue

public String getResolvedValue()

Returns: the resolved value if the method has typeParameters, otherwise type's value

Since: 1.10

getType

public Type getType()

hashCode

public int hashCode()

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

setParentMethod

public void setParentMethod(JavaMethod parentMethod)

toString

public String toString()