| /external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
| FieldDefinition.java | 72 Collection<? extends Annotation> annotations = field.getAnnotations(); local 73 if (annotations.size() > 0) { 75 AnnotationFormatter.writeTo(writer, annotations);
|
| /external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/ |
| ImmutableField.java | 56 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotation> annotations; field in class:ImmutableField 63 @Nullable Collection<? extends Annotation> annotations) { 69 this.annotations = ImmutableAnnotation.immutableSetOf(annotations); 77 @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations) { 83 this.annotations = ImmutableUtils.nullToEmptySet(annotations); 104 @Nonnull @Override public ImmutableSet<? extends ImmutableAnnotation> getAnnotations() { return annotations; }
|
| ImmutableClassDef.java | 57 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotation> annotations; field in class:ImmutableClassDef 68 @Nullable Collection<? extends Annotation> annotations, 83 this.annotations = ImmutableAnnotation.immutableSetOf(annotations); 95 @Nullable Collection<? extends Annotation> annotations, 105 this.annotations = ImmutableAnnotation.immutableSetOf(annotations); 117 @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations, 127 this.annotations = ImmutableUtils.nullToEmptySet(annotations); [all...] |
| ImmutableMethod.java | 56 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotation> annotations; field in class:ImmutableMethod 64 @Nullable Set<? extends Annotation> annotations, 71 this.annotations = ImmutableAnnotation.immutableSetOf(annotations); 80 @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations, 87 this.annotations = ImmutableUtils.nullToEmptySet(annotations); 111 @Override @Nonnull public ImmutableSet<? extends ImmutableAnnotation> getAnnotations() { return annotations; }
|
| /cts/tools/cts-java-scanner-doclet/src/com/android/cts/javascannerdoclet/ |
| CtsJavaScannerDoclet.java | 96 AnnotationDesc[] annotations = method.annotations(); local 97 for (AnnotationDesc annot : annotations) { 114 for (AnnotationDesc annot : method.annotations()) { 157 for (AnnotationDesc annot : method.annotations()) {
|
| /dalvik/dexgen/src/com/android/dexgen/dex/file/ |
| AnnotationSetItem.java | 20 import com.android.dexgen.rop.annotation.Annotations; 25 * Set of annotations, where no annotation type appears more than once. 34 /** {@code non-null;} the set of annotations */ 35 private final Annotations annotations; field in class:AnnotationSetItem 38 * {@code non-null;} set of annotations as individual items in an array. 47 * @param annotations {@code non-null;} set of annotations 49 public AnnotationSetItem(Annotations annotations) { [all...] |
| ParameterAnnotationStruct.java | 19 import com.android.dexgen.rop.annotation.Annotations; 29 * Association of a method and its parameter annotations. 36 /** {@code non-null;} the associated annotations list */ 39 /** {@code non-null;} the associated annotations list, as an item */ 46 * @param annotationsList {@code non-null;} the associated annotations list 62 * Construct an item for the annotations list. TODO: This 71 Annotations annotations = annotationsList.get(i); local 72 AnnotationSetItem item = new AnnotationSetItem(annotations); 154 * Gets the associated annotations list [all...] |
| /dalvik/dx/src/com/android/dx/dex/file/ |
| AnnotationSetItem.java | 20 import com.android.dx.rop.annotation.Annotations; 25 * Set of annotations, where no annotation type appears more than once. 34 /** {@code non-null;} the set of annotations */ 35 private final Annotations annotations; field in class:AnnotationSetItem 38 * {@code non-null;} set of annotations as individual items in an array. 47 * @param annotations {@code non-null;} set of annotations 50 public AnnotationSetItem(Annotations annotations, DexFile dexFile) [all...] |
| ParameterAnnotationStruct.java | 19 import com.android.dx.rop.annotation.Annotations; 29 * Association of a method and its parameter annotations. 36 /** {@code non-null;} the associated annotations list */ 39 /** {@code non-null;} the associated annotations list, as an item */ 46 * @param annotationsList {@code non-null;} the associated annotations list 63 * Construct an item for the annotations list. TODO: This 72 Annotations annotations = annotationsList.get(i); local 73 AnnotationSetItem item = new AnnotationSetItem(annotations, dexFile); 155 * Gets the associated annotations list [all...] |
| /external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
| AnnotationSetItem.java | 19 import com.android.dx.rop.annotation.Annotations; 25 * Set of annotations, where no annotation type appears more than once. 34 /** {@code non-null;} the set of annotations */ 35 private final Annotations annotations; field in class:AnnotationSetItem 38 * {@code non-null;} set of annotations as individual items in an array. 47 * @param annotations {@code non-null;} set of annotations 49 public AnnotationSetItem(Annotations annotations) { [all...] |
| ParameterAnnotationStruct.java | 19 import com.android.dx.rop.annotation.Annotations; 29 * Association of a method and its parameter annotations. 36 /** {@code non-null;} the associated annotations list */ 39 /** {@code non-null;} the associated annotations list, as an item */ 46 * @param annotationsList {@code non-null;} the associated annotations list 62 * Construct an item for the annotations list. TODO: This 71 Annotations annotations = annotationsList.get(i); local 72 AnnotationSetItem item = new AnnotationSetItem(annotations); 154 * Gets the associated annotations list [all...] |
| /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
| BuilderMethod.java | 47 @Nonnull final BuilderAnnotationSet annotations; field in class:BuilderMethod 56 @Nonnull BuilderAnnotationSet annotations, 61 this.annotations = annotations; 71 @Override @Nonnull public BuilderAnnotationSet getAnnotations() { return annotations; }
|
| BuilderClassDef.java | 52 @Nonnull final BuilderAnnotationSet annotations; field in class:BuilderClassDef 67 @Nonnull BuilderAnnotationSet annotations, 82 this.annotations = annotations; 93 @Nonnull @Override public BuilderAnnotationSet getAnnotations() { return annotations; }
|
| /cts/tools/dex-tools/src/dex/reader/ |
| DexMethodImpl.java | 47 private Set<DexAnnotation> annotations; field in class:DexMethodImpl 85 annotations = new HashSet<DexAnnotation>(); 90 annotations.add(new DexAnnotationImpl(buffer.createCopy(), 132 return annotations;
|
| DexClassImpl.java | 63 private Set<DexAnnotation> annotations; field in class:DexClassImpl 237 annotations = new HashSet<DexAnnotation>(); 242 annotations.add(new DexAnnotationImpl(buffer.createCopy(), 331 return annotations;
|
| /dalvik/dx/src/com/android/dx/cf/direct/ |
| AnnotationParser.java | 23 import com.android.dx.rop.annotation.Annotations; 48 * Parser for annotations. 119 * @param visibility {@code non-null;} visibility of the parsed annotations 120 * @return {@code non-null;} the parsed list of lists of annotations 143 * @param visibility {@code non-null;} visibility of the parsed annotations 144 * @return {@code non-null;} the list of annotations read from the attribute 147 public Annotations parseAnnotationAttribute( 149 Annotations result; 168 * @param visibility {@code non-null;} visibility of the parsed annotations 188 Annotations annotations = parseAnnotations(visibility) local 215 Annotations annotations = new Annotations(); local [all...] |
| /art/test/005-annotations/src/android/test/anno/ |
| TestAnnotations.java | 11 * Print the annotations in sorted order, so as to avoid 33 System.out.println("annotations on TYPE " + clazz + 40 System.out.println(" annotations on CTOR " + c + ":"); 43 System.out.println(" constructor parameter annotations:"); 51 System.out.println(" annotations on METH " + m + ":"); 54 System.out.println(" method parameter annotations:"); 62 System.out.println(" annotations on FIELD " + f + ":"); 104 Annotation[] annotations; local 108 annotations = field.getAnnotations(); 109 System.out.println(field + ": " + annotations[0].toString()) [all...] |
| /external/guava/guava-testlib/src/com/google/common/testing/ |
| NullPointerTester.java | 19 import com.google.common.annotations.Beta; 279 Annotation[] annotations = func.getParameterAnnotations()[paramIndex]; local 280 for (Annotation annotation : annotations) {
|
| /external/proguard/src/proguard/optimize/ |
| DuplicateInitializerFixer.java | 130 // signature, and the parameter annotations, if 197 Annotation[][] annotations = new Annotation[parameterAnnotationsAttribute.u2parametersCount][]; local 207 annotations, 212 parameterAnnotationsAttribute.parameterAnnotations = annotations;
|
| MethodDescriptorShrinker.java | 83 // Shrink the signature and parameter annotations. 158 Annotation[][] annotations = parameterAnnotationsAttribute.parameterAnnotations; local 180 annotations[newAnnotationIndex++] = annotations[annotationIndex]; 195 annotations[newAnnotationIndex++] = null;
|
| /dalvik/dexgen/src/com/android/dexgen/util/ |
| ByteArrayAnnotatedOutput.java | 47 /** whether annotations are to be verbose */ 51 * {@code null-ok;} list of annotations, or {@code null} if this instance 54 private ArrayList<Annotation> annotations; field in class:ByteArrayAnnotatedOutput 61 * in annotations 70 * instance does not keep annotations by default. 80 * reallocated. The constructed instance does not keep annotations 102 this.annotations = null; 358 return (annotations != null); 368 if (annotations == null) { 373 annotations.add(new Annotation(cursor, msg)) [all...] |
| /dalvik/dx/src/com/android/dx/util/ |
| ByteArrayAnnotatedOutput.java | 50 /** whether annotations are to be verbose */ 54 * {@code null-ok;} list of annotations, or {@code null} if this instance 57 private ArrayList<Annotation> annotations; field in class:ByteArrayAnnotatedOutput 64 * in annotations 73 * instance does not keep annotations by default. 83 * reallocated. The constructed instance does not keep annotations 93 * keep annotations by default. 114 this.annotations = null; 354 return (annotations != null); 364 if (annotations == null) [all...] |
| /external/dexmaker/src/dx/java/com/android/dx/util/ |
| ByteArrayAnnotatedOutput.java | 47 /** whether annotations are to be verbose */ 51 * {@code null-ok;} list of annotations, or {@code null} if this instance 54 private ArrayList<Annotation> annotations; field in class:ByteArrayAnnotatedOutput 61 * in annotations 70 * instance does not keep annotations by default. 80 * reallocated. The constructed instance does not keep annotations 90 * keep annotations by default. 111 this.annotations = null; 351 return (annotations != null); 361 if (annotations == null) [all...] |
| /external/doclava/src/com/google/doclava/ |
| MemberInfo.java | 26 ArrayList<AnnotationInstanceInfo> annotations) { 40 mAnnotations = annotations; 41 mShowAnnotations = AnnotationInstanceInfo.getShowAnnotationsIntersection(annotations); 155 public ArrayList<AnnotationInstanceInfo> annotations() { method in class:MemberInfo
|
| /external/doclava/src/com/google/doclava/apicheck/ |
| XmlApiFile.java | 148 ArrayList<AnnotationInstanceInfo> annotations = new ArrayList<AnnotationInstanceInfo>(); // TODO local 155 annotations); 171 new ArrayList<AnnotationInstanceInfo>()/*annotations*/);
|