com.thoughtworks.qdox.model

Class JavaParameter

public class JavaParameter extends Object implements Serializable

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

Field Detail

EMPTY_ARRAY

public static final JavaParameter[] EMPTY_ARRAY

name

private String name

parentMethod

private JavaMethod parentMethod

type

private Type type

varArgs

private boolean varArgs

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()

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)