Home
last modified time | relevance | path

Searched refs:ImmutableAnnotationElement (Results 1 – 6 of 6) sorted by relevance

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableAnnotationElement.java45 public class ImmutableAnnotationElement extends BaseAnnotationElement { class
49 public ImmutableAnnotationElement(@Nonnull String name, in ImmutableAnnotationElement() method in ImmutableAnnotationElement
55 public ImmutableAnnotationElement(@Nonnull String name, in ImmutableAnnotationElement() method in ImmutableAnnotationElement
61 public static ImmutableAnnotationElement of(AnnotationElement annotationElement) { in of()
62 if (annotationElement instanceof ImmutableAnnotationElement) { in of()
63 return (ImmutableAnnotationElement)annotationElement; in of()
65 return new ImmutableAnnotationElement( in of()
74 public static ImmutableSet<ImmutableAnnotationElement> immutableSetOf( in immutableSetOf()
79 … private static final ImmutableConverter<ImmutableAnnotationElement, AnnotationElement> CONVERTER =
80 new ImmutableConverter<ImmutableAnnotationElement, AnnotationElement>() {
[all …]
DImmutableAnnotation.java48 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotationElement> elements;
55 this.elements = ImmutableAnnotationElement.immutableSetOf(elements); in ImmutableAnnotation()
60 … @Nullable ImmutableSet<? extends ImmutableAnnotationElement> elements) { in ImmutableAnnotation()
78 …@Nonnull @Override public ImmutableSet<? extends ImmutableAnnotationElement> getElements() { retur… in getElements()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/
DDexWriterTest.java46 import org.jf.dexlib2.immutable.ImmutableAnnotationElement;
62 ImmutableSet<ImmutableAnnotationElement> elements = in testAnnotationElementOrder()
63 … ImmutableSet.of(new ImmutableAnnotationElement("zabaglione", ImmutableNullEncodedValue.INSTANCE), in testAnnotationElementOrder()
64 new ImmutableAnnotationElement("blah", ImmutableNullEncodedValue.INSTANCE)); in testAnnotationElementOrder()
96 ImmutableSet<ImmutableAnnotationElement> encodedElements = in testEncodedAnnotationElementOrder()
97 … ImmutableSet.of(new ImmutableAnnotationElement("zabaglione", ImmutableNullEncodedValue.INSTANCE), in testEncodedAnnotationElementOrder()
98 new ImmutableAnnotationElement("blah", ImmutableNullEncodedValue.INSTANCE)); in testEncodedAnnotationElementOrder()
103 ImmutableSet<ImmutableAnnotationElement> elements = in testEncodedAnnotationElementOrder()
104 … ImmutableSet.of(new ImmutableAnnotationElement("encoded_annotation", encodedAnnotations)); in testEncodedAnnotationElementOrder()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/value/
DImmutableAnnotationEncodedValue.java38 import org.jf.dexlib2.immutable.ImmutableAnnotationElement;
47 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotationElement> elements;
52 this.elements = ImmutableAnnotationElement.immutableSetOf(elements); in ImmutableAnnotationEncodedValue()
56 … @Nullable ImmutableSet<? extends ImmutableAnnotationElement> elements) { in ImmutableAnnotationEncodedValue()
71 …@Nonnull @Override public ImmutableSet<? extends ImmutableAnnotationElement> getElements() { retur… in getElements()
/external/smali/smali/src/main/antlr/
DsmaliTreeWalker.g62 import org.jf.dexlib2.immutable.ImmutableAnnotationElement;
1329 $element = new ImmutableAnnotationElement($SIMPLE_NAME.text, $literal.encodedValue);
/external/smali/smali/src/main/java/org/jf/smali/
DsmaliTreeWalker.java28 import org.jf.dexlib2.immutable.ImmutableAnnotationElement;
7148 …element = new ImmutableAnnotationElement((SIMPLE_NAME217!=null?SIMPLE_NAME217.getText():null), lit… in annotation_element()