public class ParameterInfo extends Object
VariableElement.
This class offers the following benefits compared to VariableElement:
String representation suitable for representing the parameter
in a parameter list| Constructor and Description |
|---|
ParameterInfo(TypeMirror type,
CharSequence name,
boolean varArgs)
Constructor.
|
public ParameterInfo(TypeMirror type, CharSequence name, boolean varArgs)
type - the type of the parametername - the name of the parametervarArgs - whether or not this parameter is a varargs parameterpublic TypeMirror getType()
public String getName()
public boolean isVarArgs()
true if this parameter is a varargs parameter,
false otherwise.Copyright © 2013–2014. All rights reserved.