public class Annotations extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Annotations.Builder<T extends Annotation> |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Annotation> |
builder(Class<T> annotationType)
Returns a builder that can be used to construct an annotation instance.
|
static <T extends Annotation> |
create(Class<T> annotationType)
Convenience method that constructs an annotation instance with no elements.
|
static <T extends Annotation> |
create(Class<T> annotationType,
Object value)
Convenience method that constructs an annotation instance with a single "value" element.
|
public static <T extends Annotation> Annotations.Builder<T> builder(Class<T> annotationType)
public static <T extends Annotation> T create(Class<T> annotationType, Object value)
public static <T extends Annotation> T create(Class<T> annotationType)
Copyright © 2021. All rights reserved.