public boolean visit(AnnotationTypeMemberDeclaration node) { if (node.getJavadoc() != null) { node.getJavadoc().accept(this); } printModifiers(node.modifiers()); node.getType().accept(this); this.fBuffer.append(" ");//$NON-NLS-1$ node.getName().accept(this); this.fBuffer.append("()");//$NON-NLS-1$ if (node.getDefault() != null) { this.fBuffer.append(" default ");//$NON-NLS-1$ node.getDefault().accept(this); } this.fBuffer.append(";");//$NON-NLS-1$ return false; }
@Override public boolean visit(AnnotationTypeMemberDeclaration node) { if (node.getJavadoc() != null) { node.getJavadoc().accept(this); } printModifiers(node.modifiers()); node.getType().accept(this); this.fBuffer.append(" ");//$NON-NLS-1$ node.getName().accept(this); this.fBuffer.append("()");//$NON-NLS-1$ if (node.getDefault() != null) { this.fBuffer.append(" default ");//$NON-NLS-1$ node.getDefault().accept(this); } this.fBuffer.append(";");//$NON-NLS-1$ return false; }
int treeSize() { return memSize() + (this.optionalDocComment == null ? 0 : getJavadoc().treeSize()) + this.modifiers.listSize() + (this.memberName == null ? 0 : getName().treeSize()) + (this.memberType == null ? 0 : getType().treeSize()) + (this.optionalDefaultValue == null ? 0 : getDefault().treeSize()); } }
int treeSize() { return memSize() + (this.optionalDocComment == null ? 0 : getJavadoc().treeSize()) + this.modifiers.listSize() + (this.memberName == null ? 0 : getName().treeSize()) + (this.memberType == null ? 0 : getType().treeSize()) + (this.optionalDefaultValue == null ? 0 : getDefault().treeSize()); } }
@Override int treeSize() { return memSize() + (this.optionalDocComment == null ? 0 : getJavadoc().treeSize()) + this.modifiers.listSize() + (this.memberName == null ? 0 : getName().treeSize()) + (this.memberType == null ? 0 : getType().treeSize()) + (this.optionalDefaultValue == null ? 0 : getDefault().treeSize()); } }
int treeSize() { return memSize() + (this.optionalDocComment == null ? 0 : getJavadoc().treeSize()) + this.modifiers.listSize() + (this.memberName == null ? 0 : getName().treeSize()) + (this.memberType == null ? 0 : getType().treeSize()) + (this.optionalDefaultValue == null ? 0 : getDefault().treeSize()); } }
int treeSize() { return memSize() + (this.optionalDocComment == null ? 0 : getJavadoc().treeSize()) + this.modifiers.listSize() + (this.memberName == null ? 0 : getName().treeSize()) + (this.memberType == null ? 0 : getType().treeSize()) + (this.optionalDefaultValue == null ? 0 : getDefault().treeSize()); } }
int treeSize() { return memSize() + (this.optionalDocComment == null ? 0 : getJavadoc().treeSize()) + this.modifiers.listSize() + (this.memberName == null ? 0 : getName().treeSize()) + (this.memberType == null ? 0 : getType().treeSize()) + (this.optionalDefaultValue == null ? 0 : getDefault().treeSize()); } }
void accept0(ASTVisitor visitor) { boolean visitChildren = visitor.visit(this); if (visitChildren) { // visit children in normal left to right reading order acceptChild(visitor, getJavadoc()); acceptChildren(visitor, this.modifiers); acceptChild(visitor, getType()); acceptChild(visitor, getName()); acceptChild(visitor, getDefault()); } visitor.endVisit(this); }
@Override void accept0(ASTVisitor visitor) { boolean visitChildren = visitor.visit(this); if (visitChildren) { // visit children in normal left to right reading order acceptChild(visitor, getJavadoc()); acceptChildren(visitor, this.modifiers); acceptChild(visitor, getType()); acceptChild(visitor, getName()); acceptChild(visitor, getDefault()); } visitor.endVisit(this); }
void accept0(ASTVisitor visitor) { boolean visitChildren = visitor.visit(this); if (visitChildren) { // visit children in normal left to right reading order acceptChild(visitor, getJavadoc()); acceptChildren(visitor, this.modifiers); acceptChild(visitor, getType()); acceptChild(visitor, getName()); acceptChild(visitor, getDefault()); } visitor.endVisit(this); }
void accept0(ASTVisitor visitor) { boolean visitChildren = visitor.visit(this); if (visitChildren) { // visit children in normal left to right reading order acceptChild(visitor, getJavadoc()); acceptChildren(visitor, this.modifiers); acceptChild(visitor, getType()); acceptChild(visitor, getName()); acceptChild(visitor, getDefault()); } visitor.endVisit(this); }
void accept0(ASTVisitor visitor) { boolean visitChildren = visitor.visit(this); if (visitChildren) { // visit children in normal left to right reading order acceptChild(visitor, getJavadoc()); acceptChildren(visitor, this.modifiers); acceptChild(visitor, getType()); acceptChild(visitor, getName()); acceptChild(visitor, getDefault()); } visitor.endVisit(this); }
void accept0(ASTVisitor visitor) { boolean visitChildren = visitor.visit(this); if (visitChildren) { // visit children in normal left to right reading order acceptChild(visitor, getJavadoc()); acceptChildren(visitor, this.modifiers); acceptChild(visitor, getType()); acceptChild(visitor, getName()); acceptChild(visitor, getDefault()); } visitor.endVisit(this); }
ASTNode clone0(AST target) { AnnotationTypeMemberDeclaration result = new AnnotationTypeMemberDeclaration(target); result.setSourceRange(getStartPosition(), getLength()); result.setJavadoc( (Javadoc) ASTNode.copySubtree(target, getJavadoc())); result.modifiers().addAll(ASTNode.copySubtrees(target, modifiers())); result.setType((Type) ASTNode.copySubtree(target, getType())); result.setName((SimpleName) getName().clone(target)); result.setDefault((Expression) ASTNode.copySubtree(target, getDefault())); return result; }
ASTNode clone0(AST target) { AnnotationTypeMemberDeclaration result = new AnnotationTypeMemberDeclaration(target); result.setSourceRange(getStartPosition(), getLength()); result.setJavadoc( (Javadoc) ASTNode.copySubtree(target, getJavadoc())); result.modifiers().addAll(ASTNode.copySubtrees(target, modifiers())); result.setType((Type) ASTNode.copySubtree(target, getType())); result.setName((SimpleName) getName().clone(target)); result.setDefault((Expression) ASTNode.copySubtree(target, getDefault())); return result; }
@Override ASTNode clone0(AST target) { AnnotationTypeMemberDeclaration result = new AnnotationTypeMemberDeclaration(target); result.setSourceRange(getStartPosition(), getLength()); result.setJavadoc( (Javadoc) ASTNode.copySubtree(target, getJavadoc())); result.modifiers().addAll(ASTNode.copySubtrees(target, modifiers())); result.setType((Type) ASTNode.copySubtree(target, getType())); result.setName((SimpleName) getName().clone(target)); result.setDefault((Expression) ASTNode.copySubtree(target, getDefault())); return result; }
ASTNode clone0(AST target) { AnnotationTypeMemberDeclaration result = new AnnotationTypeMemberDeclaration(target); result.setSourceRange(getStartPosition(), getLength()); result.setJavadoc( (Javadoc) ASTNode.copySubtree(target, getJavadoc())); result.modifiers().addAll(ASTNode.copySubtrees(target, modifiers())); result.setType((Type) ASTNode.copySubtree(target, getType())); result.setName((SimpleName) getName().clone(target)); result.setDefault((Expression) ASTNode.copySubtree(target, getDefault())); return result; }
ASTNode clone0(AST target) { AnnotationTypeMemberDeclaration result = new AnnotationTypeMemberDeclaration(target); result.setSourceRange(getStartPosition(), getLength()); result.setJavadoc( (Javadoc) ASTNode.copySubtree(target, getJavadoc())); result.modifiers().addAll(ASTNode.copySubtrees(target, modifiers())); result.setType((Type) ASTNode.copySubtree(target, getType())); result.setName((SimpleName) getName().clone(target)); result.setDefault((Expression) ASTNode.copySubtree(target, getDefault())); return result; }
ASTNode clone0(AST target) { AnnotationTypeMemberDeclaration result = new AnnotationTypeMemberDeclaration(target); result.setSourceRange(getStartPosition(), getLength()); result.setJavadoc( (Javadoc) ASTNode.copySubtree(target, getJavadoc())); result.modifiers().addAll(ASTNode.copySubtrees(target, modifiers())); result.setType((Type) ASTNode.copySubtree(target, getType())); result.setName((SimpleName) getName().clone(target)); result.setDefault((Expression) ASTNode.copySubtree(target, getDefault())); return result; }