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/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/dexlib2/src/test/java/org/jf/dexlib2/writer/
DDexWriterTest.java45 import org.jf.dexlib2.immutable.ImmutableAnnotationElement;
60 ImmutableSet<ImmutableAnnotationElement> elements = in testAnnotationElementOrder()
61 … ImmutableSet.of(new ImmutableAnnotationElement("zabaglione", ImmutableNullEncodedValue.INSTANCE), in testAnnotationElementOrder()
62 new ImmutableAnnotationElement("blah", ImmutableNullEncodedValue.INSTANCE)); in testAnnotationElementOrder()
/external/smali/smali/src/main/antlr3/
DsmaliTreeWalker.g62 import org.jf.dexlib2.immutable.ImmutableAnnotationElement;
1256 $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;
6821 …element = new ImmutableAnnotationElement((SIMPLE_NAME204!=null?SIMPLE_NAME204.getText():null), lit… in annotation_element()