Package org.jboss.jdeparser
Class TryJVarDeclaration
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,JClassItem,JCommentable,JDocCommentable,JVarDeclaration,Writable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jboss.jdeparser.JClassItem
JClassItem.Kind -
Field Summary
FieldsFields inherited from interface org.jboss.jdeparser.JClassItem
SMART_NAME_SORT -
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
getItemKind, getModifiers, getName, hasAllModifiers, hasAnyModifier, 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
-