List of usage examples for org.eclipse.jdt.core.dom SingleMemberAnnotation TYPE_NAME_PROPERTY
ChildPropertyDescriptor TYPE_NAME_PROPERTY
To view the source code for org.eclipse.jdt.core.dom SingleMemberAnnotation TYPE_NAME_PROPERTY.
Click Source Link
From source file:org.moe.natjgen.EditContext.java
License:Apache License
protected void setAnnotationName(Annotation annotation, String[] type) throws GeneratorException { if (annotation.isNormalAnnotation()) { setAnnotationName(annotation, NormalAnnotation.TYPE_NAME_PROPERTY, type); } else if (annotation.isSingleMemberAnnotation()) { setAnnotationName(annotation, SingleMemberAnnotation.TYPE_NAME_PROPERTY, type); } else if (annotation.isMarkerAnnotation()) { setAnnotationName(annotation, MarkerAnnotation.TYPE_NAME_PROPERTY, type); }/*from ww w. ja v a 2 s .c o m*/ }