Package com.thoughtworks.qdox.model
Class JavaParameter
java.lang.Object
com.thoughtworks.qdox.model.AbstractBaseJavaEntity
com.thoughtworks.qdox.model.JavaParameter
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsFields inherited from class com.thoughtworks.qdox.model.AbstractBaseJavaEntity
parent
-
Constructor Summary
ConstructorsConstructorDescriptionJavaParameter
(Type type, String name) JavaParameter
(Type type, String name, boolean varArgs) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
Not every entity has a parentClass, but AnnotationFieldRef requires access to it.getType()
int
hashCode()
boolean
Is this a Java 5 var args type specified using three dots.void
setParentMethod
(JavaMethod parentMethod) toString()
Methods inherited from class com.thoughtworks.qdox.model.AbstractBaseJavaEntity
getAnnotations, getLineNumber, getParent, setAnnotations, setLineNumber, setName, setParent
-
Field Details
-
EMPTY_ARRAY
-
-
Constructor Details
-
JavaParameter
-
JavaParameter
-
-
Method Details
-
getName
- Overrides:
getName
in classAbstractBaseJavaEntity
-
getType
-
equals
-
hashCode
public int hashCode() -
getParentMethod
-
setParentMethod
-
getParentClass
Description copied from class:AbstractBaseJavaEntity
Not every entity has a parentClass, but AnnotationFieldRef requires access to it. When used with JavaClass, don't confuse this with getSuperClass()- Overrides:
getParentClass
in classAbstractBaseJavaEntity
- Returns:
- the surrounding class
-
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
-
getResolvedValue
- Returns:
- the resolved value if the method has typeParameters, otherwise type's value
- Since:
- 1.10
-
getResolvedGenericValue
-