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, writeAnnotationsdeprecated, docComment, writeDocCommentsblockComment, lineComment, writeCommentsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitannotate, annotate, annotateblockComment, lineCommentprivate 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()
JParamDeclarationtype in interface JParamDeclarationpublic java.lang.String name()
JParamDeclarationname in interface JParamDeclarationpublic int mods()
JParamDeclarationmods in interface JParamDeclarationpublic boolean varargs()
JParamDeclarationvarargs in interface JParamDeclarationtrue if the parameter is vararg, false otherwisepublic JComment doc()
JParamDeclaration@param JavaDoc block for this parameter.doc in interface JParamDeclarationvoid write(SourceFileWriter writer) throws java.io.IOException
java.io.IOException