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@paramJavaDoc block for this parameter.intmods()Get the parameter modifiers.name()Get the parameter name.type()Get the parameter type.booleanvarargs()Determine whether the parameter is a vararg parameter.(package private) voidwrite(SourceFileWriter writer) Methods inherited from class BasicJAnnotatable
annotate, annotate, annotate, writeAnnotationsMethods inherited from class AbstractJDocCommentable
deprecated, docComment, writeDocCommentsMethods inherited from class BasicJCommentable
blockComment, lineComment, writeCommentsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JAnnotatable
annotate, annotate, annotateMethods inherited from interface JCommentable
blockComment, lineComment
-
Field Details
-
type
-
name
-
mods
private final int mods
-
-
Constructor Details
-
ImplJParamDeclaration
-
-
Method Details
-
type
Description copied from interface:JParamDeclarationGet the parameter type.- Specified by:
typein interfaceJParamDeclaration- Returns:
- the parameter type
-
name
Description copied from interface:JParamDeclarationGet the parameter name.- Specified by:
namein interfaceJParamDeclaration- Returns:
- the parameter name
-
mods
public int mods()Description copied from interface:JParamDeclarationGet the parameter modifiers.- Specified by:
modsin interfaceJParamDeclaration- Returns:
- the parameter modifiers
-
varargs
public boolean varargs()Description copied from interface:JParamDeclarationDetermine whether the parameter is a vararg parameter.- Specified by:
varargsin interfaceJParamDeclaration- Returns:
trueif the parameter is vararg,falseotherwise
-
doc
Description copied from interface:JParamDeclarationGet the@paramJavaDoc block for this parameter.- Specified by:
docin interfaceJParamDeclaration- Returns:
- the comment block
-
write
- Throws:
IOException
-