/** * Creates and returns a new unparented type parameter type node with an * unspecified type variable name and an empty list of type bounds. * * @return a new unparented type parameter node * @exception UnsupportedOperationException if this operation is used in * a JLS2 AST * @since 3.1 */ public TypeParameter newTypeParameter() { TypeParameter result = new TypeParameter(this); return result; }
/** * Creates and returns a new unparented type parameter type node with an * unspecified type variable name and an empty list of type bounds. * * @return a new unparented type parameter node * @exception UnsupportedOperationException if this operation is used in * a JLS2 AST * @since 3.1 */ public TypeParameter newTypeParameter() { TypeParameter result = new TypeParameter(this); return result; }
/** * Creates and returns a new unparented type parameter type node with an * unspecified type variable name and an empty list of type bounds. * * @return a new unparented type parameter node * @exception UnsupportedOperationException if this operation is used in * a JLS2 AST * @since 3.1 */ public TypeParameter newTypeParameter() { TypeParameter result = new TypeParameter(this); return result; }
/** * Creates and returns a new unparented type parameter type node with an * unspecified type variable name and an empty list of type bounds. * * @return a new unparented type parameter node * @exception UnsupportedOperationException if this operation is used in * a JLS2 AST * @since 3.1 */ public TypeParameter newTypeParameter() { TypeParameter result = new TypeParameter(this); return result; }
/** * Creates and returns a new unparented type parameter type node with an * unspecified type variable name and an empty list of type bounds. * * @return a new unparented type parameter node * @exception UnsupportedOperationException if this operation is used in * a JLS2 AST * @since 3.1 */ public TypeParameter newTypeParameter() { TypeParameter result = new TypeParameter(this); return result; }
/** * Creates and returns a new unparented type parameter type node with an * unspecified type variable name and an empty list of type bounds. * * @return a new unparented type parameter node * @exception UnsupportedOperationException if this operation is used in * a JLS2 AST * @since 3.1 */ public TypeParameter newTypeParameter() { TypeParameter result = new TypeParameter(this); return result; }
ASTNode clone0(AST target) { TypeParameter result = new TypeParameter(target); result.setSourceRange(getStartPosition(), getLength()); if (this.ast.apiLevel >= AST.JLS8) { result.modifiers().addAll( ASTNode.copySubtrees(target, modifiers())); } result.setName((SimpleName) ((ASTNode) getName()).clone(target)); result.typeBounds().addAll( ASTNode.copySubtrees(target, typeBounds())); return result; }
ASTNode clone0(AST target) { TypeParameter result = new TypeParameter(target); result.setSourceRange(getStartPosition(), getLength()); result.setName((SimpleName) ((ASTNode) getName()).clone(target)); result.typeBounds().addAll( ASTNode.copySubtrees(target, typeBounds())); return result; }
@Override ASTNode clone0(AST target) { TypeParameter result = new TypeParameter(target); result.setSourceRange(getStartPosition(), getLength()); if (this.ast.apiLevel >= AST.JLS8_INTERNAL) { result.modifiers().addAll( ASTNode.copySubtrees(target, modifiers())); } result.setName((SimpleName) ((ASTNode) getName()).clone(target)); result.typeBounds().addAll( ASTNode.copySubtrees(target, typeBounds())); return result; }
ASTNode clone0(AST target) { TypeParameter result = new TypeParameter(target); result.setSourceRange(getStartPosition(), getLength()); if (this.ast.apiLevel >= AST.JLS8_INTERNAL) { result.modifiers().addAll( ASTNode.copySubtrees(target, modifiers())); } result.setName((SimpleName) ((ASTNode) getName()).clone(target)); result.typeBounds().addAll( ASTNode.copySubtrees(target, typeBounds())); return result; }
ASTNode clone0(AST target) { TypeParameter result = new TypeParameter(target); result.setSourceRange(getStartPosition(), getLength()); if (this.ast.apiLevel >= AST.JLS8) { result.modifiers().addAll( ASTNode.copySubtrees(target, modifiers())); } result.setName((SimpleName) ((ASTNode) getName()).clone(target)); result.typeBounds().addAll( ASTNode.copySubtrees(target, typeBounds())); return result; }
ASTNode clone0(AST target) { TypeParameter result = new TypeParameter(target); result.setSourceRange(getStartPosition(), getLength()); if (this.ast.apiLevel >= AST.JLS8) { result.modifiers().addAll( ASTNode.copySubtrees(target, modifiers())); } result.setName((SimpleName) ((ASTNode) getName()).clone(target)); result.typeBounds().addAll( ASTNode.copySubtrees(target, typeBounds())); return result; }
public TypeParameter convert(org.eclipse.jdt.internal.compiler.ast.TypeParameter typeParameter) { final TypeParameter typeParameter2 = new TypeParameter(this.ast); final SimpleName simpleName = new SimpleName(this.ast); simpleName.internalSetIdentifier(new String(typeParameter.name));
public TypeParameter convert(org.eclipse.jdt.internal.compiler.ast.TypeParameter typeParameter) { final TypeParameter typeParameter2 = new TypeParameter(this.ast); final SimpleName simpleName = new SimpleName(this.ast); simpleName.internalSetIdentifier(new String(typeParameter.name));
public TypeParameter convert(org.eclipse.jdt.internal.compiler.ast.TypeParameter typeParameter) { final TypeParameter typeParameter2 = new TypeParameter(this.ast); final SimpleName simpleName = new SimpleName(this.ast); simpleName.internalSetIdentifier(new String(typeParameter.name));
public TypeParameter convert(org.eclipse.jdt.internal.compiler.ast.TypeParameter typeParameter) { final TypeParameter typeParameter2 = new TypeParameter(this.ast); final SimpleName simpleName = new SimpleName(this.ast); simpleName.internalSetIdentifier(new String(typeParameter.name));
public TypeParameter convert(org.eclipse.jdt.internal.compiler.ast.TypeParameter typeParameter) { final TypeParameter typeParameter2 = new TypeParameter(this.ast); final SimpleName simpleName = new SimpleName(this.ast); simpleName.internalSetIdentifier(new String(typeParameter.name));
public TypeParameter convert(org.eclipse.jdt.internal.compiler.ast.TypeParameter typeParameter) { final TypeParameter typeParameter2 = new TypeParameter(this.ast); final SimpleName simpleName = new SimpleName(this.ast); simpleName.internalSetIdentifier(new String(typeParameter.name));