public class ImmutableAnnotationElement extends BaseAnnotationElement
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
name |
protected ImmutableEncodedValue |
value |
BY_NAME| Constructor and Description |
|---|
ImmutableAnnotationElement(java.lang.String name,
EncodedValue value) |
ImmutableAnnotationElement(java.lang.String name,
ImmutableEncodedValue value) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Gets the name of the element.
|
EncodedValue |
getValue()
Gets the value of the element.
|
static com.google.common.collect.ImmutableSet<ImmutableAnnotationElement> |
immutableSetOf(java.lang.Iterable<? extends AnnotationElement> list) |
static ImmutableAnnotationElement |
of(AnnotationElement annotationElement) |
compareTo, equals, hashCode@Nonnull protected final java.lang.String name
@Nonnull protected final ImmutableEncodedValue value
public ImmutableAnnotationElement(@Nonnull
java.lang.String name,
@Nonnull
EncodedValue value)
public ImmutableAnnotationElement(@Nonnull
java.lang.String name,
@Nonnull
ImmutableEncodedValue value)
public static ImmutableAnnotationElement of(AnnotationElement annotationElement)
@Nonnull public java.lang.String getName()
AnnotationElement@Nonnull public EncodedValue getValue()
AnnotationElement@Nonnull public static com.google.common.collect.ImmutableSet<ImmutableAnnotationElement> immutableSetOf(@Nullable java.lang.Iterable<? extends AnnotationElement> list)