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
class ImplJLabel extends BasicJCommentable implements JLabel, JStatement, BlockContent
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
name
-
Constructor Summary
Constructors Constructor Description ImplJLabel()
ImplJLabel(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
isResolved()
java.lang.String
name()
Get the label name.(package private) void
setName(java.lang.String name)
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
-
-
-
-
Method Detail
-
isResolved
boolean isResolved()
-
name
public java.lang.String name()
Description copied from interface:JLabel
Get the label name. If the label is anonymous, or not defined yet, an exception is thrown.
-
setName
void setName(java.lang.String name)
-
write
public void write(SourceFileWriter writer) throws java.io.IOException
-
-