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 |
---|---|
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.
|
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 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 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
.