public void visitVarDef(JCVariableDecl tree) { if (tree.sym == element) { result[0] = tree; } else { super.visitVarDef(tree); } } }.scan(cu);
public void visitVarDef(JCVariableDecl node) { node.sym = null; super.visitVarDef(node); } public void visitNewClass(JCNewClass node) {
public void visitVarDef(JCVariableDecl node) { node.sym = null; super.visitVarDef(node); } public void visitNewClass(JCNewClass node) {
public void visitVarDef(JCVariableDecl node) { node.sym = null; super.visitVarDef(node); } public void visitNewClass(JCNewClass node) {
public void visitVarDef(JCVariableDecl node) { node.sym = null; super.visitVarDef(node); } public void visitNewClass(JCNewClass node) {
@Override public void visitVarDef(JCVariableDecl tree) { super.visitVarDef(tree); if (tree.sym == null || tree.type == null || tree.type == syms.unknownType) ret.set(false); tree.init = null; } @Override
@Override public void visitVarDef(JCVariableDecl that) { initTypeIfNeeded(that); if (that.sym == null) { that.sym = new VarSymbol(0, that.name, that.type, syms.noSymbol); that.sym.adr = 0; } super.visitVarDef(that); }
@Override public void visitVarDef(JCVariableDecl that) { if (that.sym.owner.kind == TYP) { chk.checkConflicts(that.pos(), that.sym, currentClass); } super.visitVarDef(that); }
@Override public void visitVarDef(JCVariableDecl that) { initTypeIfNeeded(that); if (that.sym == null) { that.sym = new VarSymbol(0, that.name, that.type, syms.noSymbol); that.sym.adr = 0; } super.visitVarDef(that); }
@Override public void visitVarDef(JCVariableDecl that) { if (that.sym.owner.kind == TYP) { chk.checkConflicts(that.pos(), that.sym, currentClass); } super.visitVarDef(that); }