Package org.jboss.jdeparser
Class ImplJParamDeclaration
java.lang.Object
org.jboss.jdeparser.BasicJCommentable
org.jboss.jdeparser.AbstractJDocCommentable
org.jboss.jdeparser.BasicJAnnotatable
org.jboss.jdeparser.ImplJParamDeclaration
- All Implemented Interfaces:
JAnnotatable
,JCommentable
,JDocCommentable
,JParamDeclaration
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoc()
Get the@param
JavaDoc block for this parameter.int
mods()
Get the parameter modifiers.name()
Get the parameter name.type()
Get the parameter type.boolean
varargs()
Determine whether the parameter is a vararg parameter.(package private) void
write
(SourceFileWriter writer) Methods inherited from class org.jboss.jdeparser.BasicJAnnotatable
annotate, annotate, annotate, writeAnnotations
Methods inherited from class org.jboss.jdeparser.AbstractJDocCommentable
deprecated, docComment, writeDocComments
Methods inherited from class org.jboss.jdeparser.BasicJCommentable
blockComment, lineComment, writeComments
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jboss.jdeparser.JAnnotatable
annotate, annotate, annotate
Methods inherited from interface org.jboss.jdeparser.JCommentable
blockComment, lineComment
-
Field Details
-
type
-
name
-
mods
private final int mods
-
-
Constructor Details
-
ImplJParamDeclaration
-
-
Method Details
-
type
Description copied from interface:JParamDeclaration
Get the parameter type.- Specified by:
type
in interfaceJParamDeclaration
- Returns:
- the parameter type
-
name
Description copied from interface:JParamDeclaration
Get the parameter name.- Specified by:
name
in interfaceJParamDeclaration
- Returns:
- the parameter name
-
mods
public int mods()Description copied from interface:JParamDeclaration
Get the parameter modifiers.- Specified by:
mods
in interfaceJParamDeclaration
- Returns:
- the parameter modifiers
-
varargs
public boolean varargs()Description copied from interface:JParamDeclaration
Determine whether the parameter is a vararg parameter.- Specified by:
varargs
in interfaceJParamDeclaration
- Returns:
true
if the parameter is vararg,false
otherwise
-
doc
Description copied from interface:JParamDeclaration
Get the@param
JavaDoc block for this parameter.- Specified by:
doc
in interfaceJParamDeclaration
- Returns:
- the comment block
-
write
- Throws:
IOException
-