Home
last modified time | relevance | path

Searched refs:ImmutableAnnotation (Results 1 – 8 of 8) sorted by relevance

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableAnnotation.java45 public class ImmutableAnnotation extends BaseAnnotation { class
50 public ImmutableAnnotation(int visibility, in ImmutableAnnotation() method in ImmutableAnnotation
58 public ImmutableAnnotation(int visibility, in ImmutableAnnotation() method in ImmutableAnnotation
66 public static ImmutableAnnotation of(Annotation annotation) { in of()
67 if (annotation instanceof ImmutableAnnotation) { in of()
68 return (ImmutableAnnotation)annotation; in of()
70 return new ImmutableAnnotation( in of()
81 …public static ImmutableSet<ImmutableAnnotation> immutableSetOf(@Nullable Iterable<? extends Annota… in immutableSetOf()
85 private static final ImmutableConverter<ImmutableAnnotation, Annotation> CONVERTER =
86 new ImmutableConverter<ImmutableAnnotation, Annotation>() {
[all …]
DImmutableField.java56 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotation> annotations;
69 this.annotations = ImmutableAnnotation.immutableSetOf(annotations); in ImmutableField()
77 @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations) { in ImmutableField()
104 …@Nonnull @Override public ImmutableSet<? extends ImmutableAnnotation> getAnnotations() { return an… in getAnnotations()
DImmutableMethod.java56 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotation> annotations;
71 this.annotations = ImmutableAnnotation.immutableSetOf(annotations); in ImmutableMethod()
80 @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations, in ImmutableMethod()
111 …@Override @Nonnull public ImmutableSet<? extends ImmutableAnnotation> getAnnotations() { return an… in getAnnotations()
DImmutableMethodParameter.java48 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotation> annotations;
55 this.annotations = ImmutableAnnotation.immutableSetOf(annotations); in ImmutableMethodParameter()
60 … @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations, in ImmutableMethodParameter()
DImmutableClassDef.java58 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotation> annotations;
84 this.annotations = ImmutableAnnotation.immutableSetOf(annotations); in ImmutableClassDef()
106 this.annotations = ImmutableAnnotation.immutableSetOf(annotations); in ImmutableClassDef()
118 @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations, in ImmutableClassDef()
157 …@Nonnull @Override public ImmutableSet<? extends ImmutableAnnotation> getAnnotations() { return an… in getAnnotations()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/
DDexWriterTest.java45 import org.jf.dexlib2.immutable.ImmutableAnnotation;
66 ImmutableAnnotation annotation = new ImmutableAnnotation(AnnotationVisibility.RUNTIME, in testAnnotationElementOrder()
106 ImmutableAnnotation annotation = new ImmutableAnnotation(AnnotationVisibility.RUNTIME, in testEncodedAnnotationElementOrder()
/external/smali/smali/src/main/antlr/
DsmaliTreeWalker.g61 import org.jf.dexlib2.immutable.ImmutableAnnotation;
1323 …$annotation = new ImmutableAnnotation(visibility, $subannotation.annotationType, $subannotation.el…
/external/smali/smali/src/main/java/org/jf/smali/
DsmaliTreeWalker.java27 import org.jf.dexlib2.immutable.ImmutableAnnotation;
7107 …annotation = new ImmutableAnnotation(visibility, (subannotation216!=null?((smaliTreeWalker.subanno… in annotation()