public interface JavaParameter extends JavaAnnotatedElement, JavaType
| Modifier and Type | Method and Description |
|---|---|
String |
getCanonicalName()
Equivalent of (@link
Class.getCanonicalName(). |
ParameterDeclarator |
getDeclarator()
Returns the declaring method or constructor of this parameter
|
String |
getFullyQualifiedName()
Returns the FQN of an Object or the handler of a Type.
|
JavaClass |
getJavaClass() |
String |
getName() |
JavaClass |
getParentClass()
The declaring class of the declaring method of this parameter.
|
String |
getResolvedFullyQualifiedName() |
String |
getResolvedGenericFullyQualifiedName() |
String |
getResolvedGenericValue() |
String |
getResolvedValue() |
JavaType |
getType() |
String |
getValue()
If there's a reference to this class, use the value used in the code.
|
boolean |
isVarArgs()
Is this a Java 5 var args type specified using three dots.
|
getAnnotations, getComment, getNamedParameter, getTagByName, getTags, getTagsByNamegetGenericCanonicalName, getGenericFullyQualifiedName, getGenericValue, toGenericStringString getName()
JavaType getType()
JavaClass getJavaClass()
ParameterDeclarator getDeclarator()
JavaClass getParentClass()
boolean isVarArgs()
void doStuff(Object... thing)String getValue()
JavaTypeprivate String fieldA; // getValue() will return "String" private java.lang.String fieldA; // getValue() will return "java.lang.String" private ListaList; // getValue() will return "List"
String getFullyQualifiedName()
JavaType#getComponentType().
Some examples how names will be translated
Object > java.lang.Object java.util.List > java.util.List ? > ? T > T anypackage.Outer.Inner > anypackage.Outer$Inner String[][] > java.lang.String[][]
getFullyQualifiedName in interface JavaTypenull#getComponentType()String getCanonicalName()
JavaTypeClass.getCanonicalName().getCanonicalName in interface JavaTypenullString getResolvedValue()
String getResolvedGenericValue()
nullString getResolvedFullyQualifiedName()
nullString getResolvedGenericFullyQualifiedName()
nullCopyright © 2002–2016. All rights reserved.