Package org.jboss.jdeparser
Class StaticRefJExpr
- java.lang.Object
-
- org.jboss.jdeparser.AbstractJExpr
-
- org.jboss.jdeparser.AbstractJAssignableExpr
-
- org.jboss.jdeparser.StaticRefJExpr
-
- All Implemented Interfaces:
JAssignableExpr
,JCommentable
,JExpr
,JStatement
,Writable
class StaticRefJExpr extends AbstractJAssignableExpr
-
-
Constructor Summary
Constructors Constructor Description StaticRefJExpr(AbstractJType type, java.lang.String refName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) java.lang.String
getName()
(package private) java.lang.String
getRefName()
(package private) AbstractJType
getType()
void
write(SourceFileWriter writer)
(package private) void
writeForImport(SourceFileWriter writer)
-
Methods inherited from class org.jboss.jdeparser.AbstractJAssignableExpr
addAssign, andAssign, assign, blockComment, divAssign, lineComment, lshrAssign, modAssign, mulAssign, orAssign, postDec, postInc, preDec, preInc, shlAssign, shrAssign, subAssign, xorAssign
-
Methods inherited from class org.jboss.jdeparser.AbstractJExpr
_instanceof, _instanceof, _instanceof, _new, _new, _new, _newAnon, _newAnon, _newAnon, $v, and, band, bor, bxor, call, cast, cast, cast, comp, cond, div, eq, field, ge, gt, idx, idx, le, length, lshr, lt, minus, mod, ne, neg, not, of, or, paren, plus, prec, shl, shr, times
-
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.JExpr
_instanceof, _instanceof, _instanceof, _new, _new, _new, _newAnon, _newAnon, _newAnon, $v, and, band, bor, bxor, call, cast, cast, cast, comp, cond, div, eq, field, ge, gt, idx, idx, le, length, lshr, lt, minus, mod, ne, neg, not, or, paren, plus, shl, shr, times
-
-
-
-
Field Detail
-
type
private final AbstractJType type
-
refName
private final java.lang.String refName
-
-
Constructor Detail
-
StaticRefJExpr
StaticRefJExpr(AbstractJType type, java.lang.String refName)
-
-
Method Detail
-
getType
AbstractJType getType()
-
getRefName
java.lang.String getRefName()
-
write
public void write(SourceFileWriter writer) throws java.io.IOException
- Throws:
java.io.IOException
-
writeForImport
void writeForImport(SourceFileWriter writer) throws java.io.IOException
- Throws:
java.io.IOException
-
getName
java.lang.String getName()
-
-