Interface JVarDeclaration
- All Superinterfaces:
JAnnotatable, JCommentable, JDocCommentable
- All Known Implementing Classes:
FirstJVarDeclaration, SuccessorJVarDeclaration, TryJVarDeclaration
A variable declaration.
-
Method Summary
Methods inherited from interface JAnnotatable
annotate, annotate, annotateMethods inherited from interface JCommentable
blockComment, lineCommentMethods inherited from interface JDocCommentable
deprecated, docComment
-
Method Details
-
type
-
name
-
add
Add another item to this declaration. Subsequent items always have the same type as this item.- Parameters:
name- the variable nameinit- the variable initializer- Returns:
- the subsequent declaration
-
add
Add another item to this declaration. Subsequent items always have the same type as this item.- Parameters:
name- the variable name- Returns:
- the subsequent declaration
-