PackageDeclaration pkg = pkgFile.assertPackage();
pkg.getAnnotations().clear();
List<AnnotationExpr> a = Collections.<AnnotationExpr>singletonList(new NormalAnnotationExpr(ASTHelper.createNameExpr(
Application.class.getName()),
Collections.<MemberValuePair>singletonList(new MemberValuePair(
"name", new StringLiteralExpr("abc")
))));
pkg.setAnnotations(a);
pkgFile.assertSave();
//