peNode.setParentTypes(parents);
}
if (decl instanceof DeclareAnnotation) {
- ResolvedType annotationType = ((DeclareAnnotation) decl).getAnnotationType();
+ DeclareAnnotation da = (DeclareAnnotation) decl;
+ ResolvedType annotationType = da.getAnnotationType();
if (annotationType == null) {
String s = ((DeclareAnnotation) decl).getAnnotationString();
if (s != null && s.length() > 0) {
} else {
peNode.setAnnotationType(annotationType.getName());
}
+ if (da.isRemover()) {
+ peNode.setAnnotationRemover(true);
+ }
}
}
if (methodDeclaration.returnType != null) {