
public class JNameOf extends JExpression
| Constructor and Description |
|---|
JNameOf(SourceInfo info,
JClassType stringType,
HasName node) |
| Modifier and Type | Method and Description |
|---|---|
HasName |
getNode() |
JNonNullType |
getType()
Returns the type of this expression.
|
boolean |
hasSideEffects() |
void |
resolve(HasName node,
JClassType stringType)
Resolve external references during AST stitching.
|
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
makeStatementgetSourceInfo, setSourceInfo, toSource, toStringpublic JNameOf(SourceInfo info, JClassType stringType, HasName node)
public HasName getNode()
public JNonNullType getType()
HasTypepublic boolean hasSideEffects()
hasSideEffects in class JExpressionpublic void resolve(HasName node, JClassType stringType)
public void traverse(JVisitor visitor, Context ctx)
JVisitablevisitor - the visitor that should traverse this nodectx - the context of an existing traversalCopyright © 2018. All rights reserved.