Package org.jf.dexlib2.immutable
Class ImmutableAnnotationElement
java.lang.Object
org.jf.dexlib2.base.BaseAnnotationElement
org.jf.dexlib2.immutable.ImmutableAnnotationElement
- All Implemented Interfaces:
Comparable<AnnotationElement>,AnnotationElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ImmutableConverter<ImmutableAnnotationElement, AnnotationElement> protected final Stringprotected final ImmutableEncodedValueFields inherited from class org.jf.dexlib2.base.BaseAnnotationElement
BY_NAME -
Constructor Summary
ConstructorsConstructorDescriptionImmutableAnnotationElement(String name, EncodedValue value) ImmutableAnnotationElement(String name, ImmutableEncodedValue value) -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the name of the element.getValue()Gets the value of the element.static com.google.common.collect.ImmutableSet<ImmutableAnnotationElement> immutableSetOf(Iterable<? extends AnnotationElement> list) static ImmutableAnnotationElementof(AnnotationElement annotationElement) Methods inherited from class org.jf.dexlib2.base.BaseAnnotationElement
compareTo, equals, hashCode
-
Field Details
-
name
-
value
-
CONVERTER
-
-
Constructor Details
-
ImmutableAnnotationElement
-
ImmutableAnnotationElement
-
-
Method Details
-
of
-
getName
Description copied from interface:AnnotationElementGets the name of the element.- Returns:
- The name of the element.
-
getValue
Description copied from interface:AnnotationElementGets the value of the element.- Returns:
- The value of the element
-
immutableSetOf
@Nonnull public static com.google.common.collect.ImmutableSet<ImmutableAnnotationElement> immutableSetOf(@Nullable Iterable<? extends AnnotationElement> list)
-