public class XAnnotationUtil
extends java.lang.Object
| Constructor and Description |
|---|
XAnnotationUtil() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<org.eclipse.xtext.common.types.JvmAnnotationReference> |
findAnnotations(java.util.Set<java.lang.String> qualifiedNames,
org.eclipse.xtext.common.types.JvmAnnotationTarget annotationTarget) |
org.eclipse.xtext.common.types.JvmOperation |
findSingleValueAttribute(org.eclipse.xtext.common.types.JvmAnnotationType type) |
XExpression |
findValue(XAnnotation annotation,
org.eclipse.xtext.common.types.JvmOperation jvmOperation) |
java.util.Set<java.lang.annotation.ElementType> |
getAnnotationTargets(org.eclipse.xtext.common.types.JvmAnnotationType annotation) |
public org.eclipse.xtext.common.types.JvmOperation findSingleValueAttribute(org.eclipse.xtext.common.types.JvmAnnotationType type)
public XExpression findValue(XAnnotation annotation, org.eclipse.xtext.common.types.JvmOperation jvmOperation)
public java.util.Set<java.lang.annotation.ElementType> getAnnotationTargets(org.eclipse.xtext.common.types.JvmAnnotationType annotation)
public java.util.List<org.eclipse.xtext.common.types.JvmAnnotationReference> findAnnotations(java.util.Set<java.lang.String> qualifiedNames,
org.eclipse.xtext.common.types.JvmAnnotationTarget annotationTarget)
qualifiedNames - The annotations' qualified names to search for.annotationTarget - The element the annotations are search on.