public class JvmAnnotationReferenceBuilder
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JvmAnnotationReferenceBuilder.Factory |
| Constructor and Description |
|---|
JvmAnnotationReferenceBuilder() |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.xtext.common.types.JvmAnnotationReference |
annotationRef(java.lang.Class<?> annotationType,
java.lang.String... values)
Creates and returns an annotation reference of the given annotation type's name and the given value.
|
org.eclipse.xtext.common.types.JvmAnnotationReference |
annotationRef(java.lang.String annotationTypeName,
java.lang.String... values)
Creates and returns an annotation reference of the given annotation type's name and the given value.
|
public org.eclipse.xtext.common.types.JvmAnnotationReference annotationRef(java.lang.Class<?> annotationType,
java.lang.String... values)
annotationType - the type of the created annotation reference.values - the string values of the annotation reference.null if
sourceElement or annotationType are null.public org.eclipse.xtext.common.types.JvmAnnotationReference annotationRef(java.lang.String annotationTypeName,
java.lang.String... values)
annotationTypeName - the type name of the created annotation.values - the string value of the annotation's 'values' property.null if
annotationType are null.