com.thoughtworks.qdox.model
Class JavaParameter

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

public class JavaParameter
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

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

Field Detail

EMPTY_ARRAY

public static final JavaParameter[] EMPTY_ARRAY

name

private java.lang.String name

type

private Type type

parentMethod

private JavaMethod parentMethod

varArgs

private boolean varArgs
Constructor Detail

JavaParameter

public JavaParameter(Type type,
                     java.lang.String name)

JavaParameter

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

getName

public java.lang.String getName()

getType

public Type getType()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.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