/** * Creates an AnnotationReferenceDataType with a generated id. * * @param aType the annotation type that AnnotationRefs shall refer to. */ public AnnotationReferenceDataType(AnnotationType aType) { super("annotationreference<" + ((aType == null) ? "" : aType.getName()) + ">", 0); setAnnotationType(aType); }
@Override public void setAnnotationType(AnnotationType type) { super.setName("annotationreference<" + type.getName() + ">"); super.setAnnotationType(type); } }