/** * Internal synonym for deprecated method. Used to avoid * deprecation warnings. * @since 3.1 */ /*package*/ final TypeDeclaration internalGetTypeDeclaration() { supportedOnlyIn2(); return (TypeDeclaration) getDeclaration(); }
/** * Internal synonym for deprecated method. Used to avoid * deprecation warnings. * @since 3.1 */ /*package*/ final TypeDeclaration internalGetTypeDeclaration() { supportedOnlyIn2(); return (TypeDeclaration) getDeclaration(); }
/** * Internal synonym for deprecated method. Used to avoid * deprecation warnings. * @since 3.1 */ /*package*/ final TypeDeclaration internalGetTypeDeclaration() { supportedOnlyIn2(); return (TypeDeclaration) getDeclaration(); }
@Override public boolean visit(TypeDeclarationStatement node) { names.add(node.getDeclaration().getName().getIdentifier()); return false; }
@Override public boolean visit(TypeDeclarationStatement node) { fScope.addName(node.getDeclaration().getName().getIdentifier()); return false; }
@Override int treeSize() { return memSize() + (this.typeDecl == null ? 0 : getDeclaration().treeSize()); } }
@Override public boolean visit(TypeDeclarationStatement node) { fScope.addName(node.getDeclaration().getName().getIdentifier()); return false; }
int treeSize() { return memSize() + (this.typeDecl == null ? 0 : getDeclaration().treeSize()); } }
int treeSize() { return memSize() + (this.typeDecl == null ? 0 : getDeclaration().treeSize()); } }
@Override public void endVisit(TypeDeclarationStatement node) { if (skipNode(node)) { return; } assignFlowInfo(node, node.getDeclaration()); }
int treeSize() { return memSize() + (this.typeDecl == null ? 0 : getDeclaration().treeSize()); } }
@Override public void endVisit(TypeDeclarationStatement node) { if (skipNode(node)) return; assignFlowInfo(node, node.getDeclaration()); }
int treeSize() { return memSize() + (this.typeDecl == null ? 0 : getDeclaration().treeSize()); } }
public boolean visit(TypeDeclarationStatement node) { IValue typeDeclaration; if (node.getAST().apiLevel() == AST.JLS2) { typeDeclaration = visitChild(node.getTypeDeclaration()); } else { typeDeclaration = visitChild(node.getDeclaration()); } ownValue = constructStatementNode("declarationStatement", typeDeclaration); return false; }
public boolean visit(TypeDeclarationStatement node) { if (node.getAST().apiLevel() == JLS2) { getTypeDeclaration(node).accept(this); } if (node.getAST().apiLevel() >= JLS3) { node.getDeclaration().accept(this); } return false; }
public boolean visit(TypeDeclarationStatement node) { if (node.getAST().apiLevel() == JLS2) { getTypeDeclaration(node).accept(this); } if (node.getAST().apiLevel() >= JLS3) { node.getDeclaration().accept(this); } return false; }
public boolean visit(TypeDeclarationStatement node) { if (node.getAST().apiLevel() == AST.JLS2) { fScope.addName(node.getTypeDeclaration().getName().getIdentifier()); } else { fScope.addName(node.getDeclaration().getName().getIdentifier()); } return false; }
public boolean visit(TypeDeclarationStatement node) { if (node.getAST().apiLevel() == JLS2) { getTypeDeclaration(node).accept(this); } if (node.getAST().apiLevel() >= JLS3) { node.getDeclaration().accept(this); } return false; }
ASTNode clone0(AST target) { TypeDeclarationStatement result = new TypeDeclarationStatement(target); result.setSourceRange(getStartPosition(), getLength()); result.copyLeadingComment(this); result.setDeclaration( (AbstractTypeDeclaration) getDeclaration().clone(target)); return result; }
@Override public boolean visit(TypeDeclarationStatement node) { if (node.getAST().apiLevel() == JLS2) { getTypeDeclaration(node).accept(this); } if (node.getAST().apiLevel() >= JLS3) { node.getDeclaration().accept(this); } return false; }