java.lang.Object
org.jboss.jdeparser.BasicJCommentable
org.jboss.jdeparser.AbstractJDocCommentable
org.jboss.jdeparser.BasicJAnnotatable
org.jboss.jdeparser.FirstJVarDeclaration
org.jboss.jdeparser.TryJVarDeclaration
- All Implemented Interfaces:
BlockContent,ClassContent,JAnnotatable,JCommentable,JDocCommentable,JVarDeclaration,Writable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTryJVarDeclaration(int mods, JType type, String name, JExpr value, ImplJTry owner) -
Method Summary
Modifier and TypeMethodDescriptionAdd another item to this declaration.Add another item to this declaration.Methods inherited from class org.jboss.jdeparser.FirstJVarDeclaration
mods, name, type, write, write, writeNoSemiMethods inherited from class org.jboss.jdeparser.BasicJAnnotatable
annotate, annotate, annotate, writeAnnotationsMethods inherited from class org.jboss.jdeparser.AbstractJDocCommentable
deprecated, docComment, writeDocCommentsMethods inherited from class org.jboss.jdeparser.BasicJCommentable
blockComment, lineComment, writeCommentsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.jdeparser.JAnnotatable
annotate, annotate, annotateMethods inherited from interface org.jboss.jdeparser.JCommentable
blockComment, lineCommentMethods inherited from interface org.jboss.jdeparser.JDocCommentable
deprecated, docComment
-
Field Details
-
owner
-
-
Constructor Details
-
TryJVarDeclaration
-
-
Method Details
-
add
Description copied from interface:JVarDeclarationAdd another item to this declaration. Subsequent items always have the same type as this item.- Specified by:
addin interfaceJVarDeclaration- Overrides:
addin classFirstJVarDeclaration- Parameters:
name- the variable nameinit- the variable initializer- Returns:
- the subsequent declaration
-
add
Description copied from interface:JVarDeclarationAdd another item to this declaration. Subsequent items always have the same type as this item.- Specified by:
addin interfaceJVarDeclaration- Overrides:
addin classFirstJVarDeclaration- Parameters:
name- the variable name- Returns:
- the subsequent declaration
-