public String getType() { if (type == UNITIALIZED_STRING) { type = getFacadeHelper().toString(getASTNode().getType()); } return type; }
public String getType() { if (type == UNITIALIZED_STRING) { type = getFacadeHelper().toString(getASTNode().getType()); } return type; }
public void endVisit(AnnotationTypeMemberDeclaration node) { if (skipNode(node)) return; GenericSequentialFlowInfo info= processSequential(node, node.getType(), node.getDefault()); info.setNoReturn(); }
@Override public void endVisit(AnnotationTypeMemberDeclaration node) { if (skipNode(node)) { return; } GenericSequentialFlowInfo info = processSequential(node, node.getType(), node.getDefault()); info.setNoReturn(); }
@Override public void endVisit(AnnotationTypeMemberDeclaration node) { if (skipNode(node)) return; GenericSequentialFlowInfo info= processSequential(node, node.getType(), node.getDefault()); info.setNoReturn(); }
@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); }
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); }
public boolean visit(AnnotationTypeMemberDeclaration node) { IValueList extendedModifiers = parseExtendedModifiers(node.modifiers()); IValue typeArgument = visitChild(node.getType()); String name = node.getName().getFullyQualifiedName(); IValue defaultBlock = node.getDefault() == null ? null : visitChild(node.getDefault()); ownValue = constructDeclarationNode("annotationTypeMember", typeArgument, values.string(name), defaultBlock); setKeywordParameters("modifiers", extendedModifiers); return false; }
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; }
@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; }