edit.addChild(importEdit);
}
ListRewrite listRewrite = astRewrite.getListRewrite(annotation, NormalAnnotation.VALUES_PROPERTY);
AST annotationAST = annotation.getAST();
MemberValuePair pair = annotationAST.newMemberValuePair();
pair.setName(annotationAST.newSimpleName("method"));
QualifiedName valueName = annotationAST.newQualifiedName(annotationAST.newSimpleName("RequestMethod"),
annotationAST.newSimpleName(methodTypeString));
pair.setValue(valueName);
listRewrite.insertFirst(pair, null);
}
astRewrite.getListRewrite(decl, MethodDeclaration.MODIFIERS2_PROPERTY).insertFirst(annotation, null);