Package org.jboss.jdeparser
Interface JParamDeclaration
-
- All Superinterfaces:
JAnnotatable
- All Known Implementing Classes:
ImplJParamDeclaration
public interface JParamDeclaration extends JAnnotatable
A parameter declaration.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JCommentdoc()Get the@paramJavaDoc block for this parameter.intmods()Get the parameter modifiers.java.lang.Stringname()Get the parameter name.JTypetype()Get the parameter type.booleanvarargs()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:
trueif the parameter is vararg,falseotherwise
-
doc
JComment doc()
Get the@paramJavaDoc block for this parameter.- Returns:
- the comment block
-
-