/** * Creates and returns a new unparented annotation type * member declaration node for an unspecified, but legal, * member name and type; no modifiers; no javadoc; * and no default value. * * @return a new unparented annotation type member declaration node * @exception UnsupportedOperationException if this operation is used in * a JLS2 AST * @since 3.1 */ public AnnotationTypeMemberDeclaration newAnnotationTypeMemberDeclaration() { AnnotationTypeMemberDeclaration result = new AnnotationTypeMemberDeclaration(this); return result; }
/** * Creates and returns a new unparented annotation type * member declaration node for an unspecified, but legal, * member name and type; no modifiers; no javadoc; * and no default value. * * @return a new unparented annotation type member declaration node * @exception UnsupportedOperationException if this operation is used in * a JLS2 AST * @since 3.1 */ public AnnotationTypeMemberDeclaration newAnnotationTypeMemberDeclaration() { AnnotationTypeMemberDeclaration result = new AnnotationTypeMemberDeclaration(this); return result; }
/** * Creates and returns a new unparented annotation type * member declaration node for an unspecified, but legal, * member name and type; no modifiers; no javadoc; * and no default value. * * @return a new unparented annotation type member declaration node * @exception UnsupportedOperationException if this operation is used in * a JLS2 AST * @since 3.1 */ public AnnotationTypeMemberDeclaration newAnnotationTypeMemberDeclaration() { AnnotationTypeMemberDeclaration result = new AnnotationTypeMemberDeclaration(this); return result; }
/** * Creates and returns a new unparented annotation type * member declaration node for an unspecified, but legal, * member name and type; no modifiers; no javadoc; * and no default value. * * @return a new unparented annotation type member declaration node * @exception UnsupportedOperationException if this operation is used in * a JLS2 AST * @since 3.1 */ public AnnotationTypeMemberDeclaration newAnnotationTypeMemberDeclaration() { AnnotationTypeMemberDeclaration result = new AnnotationTypeMemberDeclaration(this); return result; }
/** * Creates and returns a new unparented annotation type * member declaration node for an unspecified, but legal, * member name and type; no modifiers; no javadoc; * and no default value. * * @return a new unparented annotation type member declaration node * @exception UnsupportedOperationException if this operation is used in * a JLS2 AST * @since 3.1 */ public AnnotationTypeMemberDeclaration newAnnotationTypeMemberDeclaration() { AnnotationTypeMemberDeclaration result = new AnnotationTypeMemberDeclaration(this); return result; }
/** * Creates and returns a new unparented annotation type * member declaration node for an unspecified, but legal, * member name and type; no modifiers; no javadoc; * and no default value. * * @return a new unparented annotation type member declaration node * @exception UnsupportedOperationException if this operation is used in * a JLS2 AST * @since 3.1 */ public AnnotationTypeMemberDeclaration newAnnotationTypeMemberDeclaration() { AnnotationTypeMemberDeclaration result = new AnnotationTypeMemberDeclaration(this); 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; }
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; }
return null; AnnotationTypeMemberDeclaration annotationTypeMemberDeclaration2 = new AnnotationTypeMemberDeclaration(this.ast); setModifiers(annotationTypeMemberDeclaration2, annotationTypeMemberDeclaration); final SimpleName methodName = new SimpleName(this.ast);
return null; AnnotationTypeMemberDeclaration annotationTypeMemberDeclaration2 = new AnnotationTypeMemberDeclaration(this.ast); setModifiers(annotationTypeMemberDeclaration2, annotationTypeMemberDeclaration); final SimpleName methodName = new SimpleName(this.ast);
return null; AnnotationTypeMemberDeclaration annotationTypeMemberDeclaration2 = new AnnotationTypeMemberDeclaration(this.ast); setModifiers(annotationTypeMemberDeclaration2, annotationTypeMemberDeclaration); final SimpleName methodName = new SimpleName(this.ast);
return null; AnnotationTypeMemberDeclaration annotationTypeMemberDeclaration2 = new AnnotationTypeMemberDeclaration(this.ast); setModifiers(annotationTypeMemberDeclaration2, annotationTypeMemberDeclaration); final SimpleName methodName = new SimpleName(this.ast);
return null; AnnotationTypeMemberDeclaration annotationTypeMemberDeclaration2 = new AnnotationTypeMemberDeclaration(this.ast); setModifiers(annotationTypeMemberDeclaration2, annotationTypeMemberDeclaration); final SimpleName methodName = new SimpleName(this.ast);
return null; AnnotationTypeMemberDeclaration annotationTypeMemberDeclaration2 = new AnnotationTypeMemberDeclaration(this.ast); setModifiers(annotationTypeMemberDeclaration2, annotationTypeMemberDeclaration); final SimpleName methodName = new SimpleName(this.ast);