/* (omit javadoc for this method) * Method declared on ASTNode. */ ASTNode clone0(AST target) { TypeParameter result = new TypeParameter(target); result.setSourceRange(getStartPosition(), getLength()); if (this.ast.apiLevel >= AST.JLS8) { result.annotations().addAll(ASTNode.copySubtrees(target, annotations())); } result.setName((SimpleName) ((ASTNode) getName()).clone(target)); result.typeBounds().addAll(ASTNode.copySubtrees(target, typeBounds())); return result; }