Package org.jboss.jdeparser
Interface JParamDeclaration
-
- All Superinterfaces:
JAnnotatable
public interface JParamDeclaration extends JAnnotatable
A parameter declaration.- Author:
- David M. Lloyd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JComment
doc()
Get the@param
JavaDoc block for this parameter.int
mods()
Get the parameter modifiers.java.lang.String
name()
Get the parameter name.JType
type()
Get the parameter type.boolean
varargs()
Determine whether the parameter is a vararg parameter.-
Methods inherited from interface org.jboss.jdeparser.JAnnotatable
annotate, annotate, annotate
-
-
-
-
Method Detail
-
type
JType type()
Get the parameter type.- Returns:
- the parameter type
-
name
java.lang.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
-
-