
public class JLocal extends JVariable implements HasEnclosingMethod
HasName.Util| Modifier and Type | Method and Description |
|---|---|
JMethod |
getEnclosingMethod() |
void |
setInitializer(JDeclarationStatement declStmt) |
void |
traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
getConstInitializer, getDeclarationStatement, getInitializer, getName, getType, hasInitializer, isFinal, setFinal, setName, setTypegetSourceInfo, setSourceInfo, toSource, toStringpublic JMethod getEnclosingMethod()
getEnclosingMethod in interface HasEnclosingMethodpublic void setInitializer(JDeclarationStatement declStmt)
setInitializer in interface CanHaveInitializerpublic void traverse(JVisitor visitor, Context ctx)
JVisitabletraverse in interface JVisitablevisitor - the visitor that should traverse this nodectx - the context of an existing traversalCopyright © 2018. All rights reserved.