Home
last modified time | relevance | path

Searched refs:AnnotationElement (Results 1 – 25 of 25) sorted by relevance

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/
DBaseAnnotationElement.java34 import org.jf.dexlib2.iface.AnnotationElement;
39 public abstract class BaseAnnotationElement implements AnnotationElement {
48 if (o != null && o instanceof AnnotationElement) { in equals()
49 AnnotationElement other = (AnnotationElement)o; in equals()
57 public int compareTo(AnnotationElement o) { in compareTo()
63 … public static final Comparator<AnnotationElement> BY_NAME = new Comparator<AnnotationElement>() {
65 … public int compare(@Nonnull AnnotationElement element1, @Nonnull AnnotationElement element2) {
DBaseMethodParameter.java37 import org.jf.dexlib2.iface.AnnotationElement;
61 for (AnnotationElement annotationElement: signatureAnnotation.getElements()) { in getSignature()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/
DAnnotationElementRewriter.java35 import org.jf.dexlib2.iface.AnnotationElement;
40 public class AnnotationElementRewriter implements Rewriter<AnnotationElement> {
47 …@Nonnull @Override public AnnotationElement rewrite(@Nonnull AnnotationElement annotationElement) { in rewrite()
52 @Nonnull protected AnnotationElement annotationElement;
54 public RewrittenAnnotationElement(@Nonnull AnnotationElement annotationElement) { in RewrittenAnnotationElement()
DAnnotationRewriter.java36 import org.jf.dexlib2.iface.AnnotationElement;
67 @Override @Nonnull public Set<? extends AnnotationElement> getElements() { in getElements()
DEncodedValueRewriter.java36 import org.jf.dexlib2.iface.AnnotationElement;
142 @Nonnull @Override public Set<? extends AnnotationElement> getElements() { in getElements()
DDexRewriter.java84 private final Rewriter<AnnotationElement> annotationElementRewriter;
139 …@Nonnull @Override public Rewriter<AnnotationElement> getAnnotationElementRewriter() { return anno… in getAnnotationElementRewriter()
DRewriters.java60 @Nonnull Rewriter<AnnotationElement> getAnnotationElementRewriter(); in getAnnotationElementRewriter()
DRewriterModule.java96 …@Nonnull public Rewriter<AnnotationElement> getAnnotationElementRewriter(@Nonnull Rewriters rewrit… in getAnnotationElementRewriter()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableAnnotationElement.java36 import org.jf.dexlib2.iface.AnnotationElement;
61 public static ImmutableAnnotationElement of(AnnotationElement annotationElement) { in of()
75 @Nullable Iterable<? extends AnnotationElement> list) { in immutableSetOf()
79 … private static final ImmutableConverter<ImmutableAnnotationElement, AnnotationElement> CONVERTER =
80 new ImmutableConverter<ImmutableAnnotationElement, AnnotationElement>() {
82 protected boolean isImmutable(@Nonnull AnnotationElement item) {
88 … protected ImmutableAnnotationElement makeImmutable(@Nonnull AnnotationElement item) {
DImmutableAnnotation.java37 import org.jf.dexlib2.iface.AnnotationElement;
52 @Nullable Collection<? extends AnnotationElement> elements) { in ImmutableAnnotation()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DAnnotationPool.java35 import org.jf.dexlib2.iface.AnnotationElement;
43 …implements AnnotationSection<CharSequence, CharSequence, Annotation, AnnotationElement, EncodedVal…
61 for (AnnotationElement element: annotation.getElements()) { in intern()
76 …@Nonnull @Override public Collection<? extends AnnotationElement> getElements(@Nonnull Annotation … in getElements()
80 …@Nonnull @Override public CharSequence getElementName(@Nonnull AnnotationElement annotationElement… in getElementName()
84 …@Nonnull @Override public EncodedValue getElementValue(@Nonnull AnnotationElement annotationElemen… in getElementValue()
DDexPool.java37 import org.jf.dexlib2.iface.AnnotationElement;
58 EncodedValue, AnnotationElement> {
178 for (AnnotationElement element: annotationEncodedValue.getElements()) { in internEncodedValue()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DAnnotationSection.java37 public interface AnnotationSection<StringKey, TypeKey, AnnotationKey, AnnotationElement, EncodedVal…
41 @Nonnull Collection<? extends AnnotationElement> getElements(@Nonnull AnnotationKey key); in getElements()
43 @Nonnull StringKey getElementName(@Nonnull AnnotationElement element); in getElementName()
44 @Nonnull EncodedValue getElementValue(@Nonnull AnnotationElement element); in getElementValue()
DEncodedValueWriter.java45 …MethodRefKey extends MethodReference, AnnotationElement extends org.jf.dexlib2.iface.AnnotationEle…
52 …@Nonnull private final AnnotationSection<StringKey, TypeKey, ?, AnnotationElement, EncodedValue> a…
60 …@Nonnull AnnotationSection<StringKey, TypeKey, ?, AnnotationElement, EncodedValue> annotationSecti… in EncodedValueWriter() argument
72 … Collection<? extends AnnotationElement> elements) throws IOException { in writeAnnotation()
77 …Collection<? extends AnnotationElement> sortedElements = Ordering.from(BaseAnnotationElement.BY_NA… in writeAnnotation()
80 for (AnnotationElement element: sortedElements) { in writeAnnotation()
DDexWriter.java94 AnnotationElement extends org.jf.dexlib2.iface.AnnotationElement> {
135 …protected final AnnotationSection<StringKey, TypeKey, AnnotationKey, AnnotationElement, EncodedVal…
147 AnnotationSection<StringKey, TypeKey, AnnotationKey, AnnotationElement, in DexWriter() argument
182 AnnotationElement, EncodedValue> {
593 … Collection<? extends AnnotationElement> elements = Ordering.from(BaseAnnotationElement.BY_NAME)
598 for (AnnotationElement element: elements) {
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/
DAnnotationElement.java42 public interface AnnotationElement extends Comparable<AnnotationElement> { interface
91 @Override int compareTo(AnnotationElement o); in compareTo()
DBasicAnnotation.java26 @Nonnull Set<? extends AnnotationElement> getElements(); in getElements()
DAnnotation.java67 @Nonnull @Override Set<? extends AnnotationElement> getElements(); in getElements()
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/EncodedValue/
DAnnotationEncodedValueAdaptor.java31 import org.jf.dexlib2.iface.AnnotationElement;
54 … @Nonnull Collection<? extends AnnotationElement> annotationElements, in writeElementsTo()
57 for (AnnotationElement annotationElement: annotationElements) { in writeElementsTo()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderContext.java39 import org.jf.dexlib2.iface.AnnotationElement;
76 @Nonnull Set<? extends AnnotationElement> elements) { in internAnnotationElements()
79 new Function<AnnotationElement, BuilderAnnotationElement>() { in internAnnotationElements()
81 public BuilderAnnotationElement apply(AnnotationElement input) { in internAnnotationElements()
87 …@Nonnull private BuilderAnnotationElement internAnnotationElement(@Nonnull AnnotationElement annot…
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/
DDexWriterTest.java42 import org.jf.dexlib2.iface.AnnotationElement;
85 List<AnnotationElement> dbElements = Lists.newArrayList(dbAnnotation.getElements()); in testAnnotationElementOrder()
126 AnnotationElement element = Iterables.getFirst(dbAnnotation.getElements(), null); in testEncodedAnnotationElementOrder()
129 … List<AnnotationElement> dbElements = Lists.newArrayList(dbAnnotationEncodedValue.getElements()); in testEncodedAnnotationElementOrder()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/value/
DAnnotationEncodedValue.java34 import org.jf.dexlib2.iface.AnnotationElement;
61 @Nonnull Set<? extends AnnotationElement> getElements(); in getElements()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/value/
DImmutableAnnotationEncodedValue.java36 import org.jf.dexlib2.iface.AnnotationElement;
50 … @Nullable Collection<? extends AnnotationElement> elements) { in ImmutableAnnotationEncodedValue()
/external/smali/smali/src/main/antlr/
DsmaliTreeWalker.g55 import org.jf.dexlib2.iface.AnnotationElement;
1326 annotation_element returns[AnnotationElement element]
1332 subannotation returns[String annotationType, List<AnnotationElement> elements]
1333 : {ArrayList<AnnotationElement> elements = Lists.newArrayList();}
/external/smali/smali/src/main/java/org/jf/smali/
DsmaliTreeWalker.java21 import org.jf.dexlib2.iface.AnnotationElement;
7127 public final AnnotationElement annotation_element() throws RecognitionException { in annotation_element()
7128 AnnotationElement element = null; in annotation_element()
7167 public List<AnnotationElement> elements;
7178 AnnotationElement annotation_element219 =null; in subannotation()
7184 ArrayList<AnnotationElement> elements = Lists.newArrayList(); in subannotation()