Package org.jboss.jdeparser
Class ImplJLabel
java.lang.Object
org.jboss.jdeparser.BasicJCommentable
org.jboss.jdeparser.ImplJLabel
- All Implemented Interfaces:
BlockContent
,JCommentable
,JLabel
,JStatement
,Writable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) boolean
name()
Get the label name.(package private) void
void
write
(SourceFileWriter writer) 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.JCommentable
blockComment, lineComment
-
Field Details
-
name
-
-
Constructor Details
-
ImplJLabel
ImplJLabel(String name) -
ImplJLabel
ImplJLabel()
-
-
Method Details
-
isResolved
boolean isResolved() -
name
Description copied from interface:JLabel
Get the label name. If the label is anonymous, or not defined yet, an exception is thrown. -
setName
-
write
- Specified by:
write
in interfaceWritable
- Throws:
IOException
-