class ImplJParamDeclaration extends BasicJAnnotatable implements JParamDeclaration
Modifier and Type | Field and Description |
---|---|
private int |
mods |
private java.lang.String |
name |
private JType |
type |
Constructor and Description |
---|
ImplJParamDeclaration(int mods,
JType type,
java.lang.String name) |
Modifier and Type | Method and 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.
|
(package private) void |
write(SourceFileWriter writer) |
annotate, annotate, annotate, writeAnnotations
deprecated, docComment, writeDocComments
blockComment, lineComment, writeComments
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
annotate, annotate, annotate
blockComment, lineComment
private final JType type
private final java.lang.String name
private final int mods
ImplJParamDeclaration(int mods, JType type, java.lang.String name)
public JType type()
JParamDeclaration
type
in interface JParamDeclaration
public java.lang.String name()
JParamDeclaration
name
in interface JParamDeclaration
public int mods()
JParamDeclaration
mods
in interface JParamDeclaration
public boolean varargs()
JParamDeclaration
varargs
in interface JParamDeclaration
true
if the parameter is vararg, false
otherwisepublic JComment doc()
JParamDeclaration
@param
JavaDoc block for this parameter.doc
in interface JParamDeclaration
void write(SourceFileWriter writer) throws java.io.IOException
java.io.IOException