Package org.jboss.jdeparser
Interface JParamDeclaration
- All Superinterfaces:
JAnnotatable
A parameter declaration.
- Author:
- David M. Lloyd
-
Method Summary
Methods inherited from interface org.jboss.jdeparser.JAnnotatable
annotate, annotate, annotate
-
Method Details
-
type
JType type()Get the parameter type.- Returns:
- the parameter type
-
name
String name()Get the parameter name.- Returns:
- the parameter name
-
mods
int mods()Get the parameter modifiers.- Returns:
- the parameter modifiers
-
varargs
boolean varargs()Determine whether the parameter is a vararg parameter.- Returns:
true
if the parameter is vararg,false
otherwise
-
doc
JComment doc()Get the@param
JavaDoc block for this parameter.- Returns:
- the comment block
-