public void setAnnotationStyleDeclaration(boolean b);
public boolean isAnnotationStyleDeclaration();
+
+ /**
+ * @param fullyQualifiedannotationType the annotation type, eg. p.q.r.Foo
+ */
+ public void setAnnotationType(String fullyQualifiedannotationType);
+
+ /**
+ * @return the fully qualified annotation type, eg. p.q.r.Foo
+ */
+ public String getAnnotationType();
}
\ No newline at end of file
return (List) (kvpairs == null ? null : kvpairs.get("parentTypes"));
}
+ /**
+ * {@inheritDoc}
+ */
+ public void setAnnotationType(String fullyQualifiedAnnotationType) {
+ if (kvpairs == Collections.EMPTY_MAP) {
+ kvpairs = new HashMap();
+ }
+ kvpairs.put("annotationType", fullyQualifiedAnnotationType);
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public String getAnnotationType() {
+ return (String) (kvpairs == null ? null : kvpairs.get("annotationType"));
+ }
+
public String getCorrespondingType() {
return getCorrespondingType(false);
}