/cts/tools/signature-tools/src/signature/model/impl/ |
D | SigAnnotatableElement.java | 29 private Set<IAnnotation> annotations; field in SigAnnotatableElement 32 annotations = Collections.emptySet(); in SigAnnotatableElement() 36 return annotations; in getAnnotations() 39 public void setAnnotations(Set<IAnnotation> annotations) { in setAnnotations() argument 40 this.annotations = annotations; in setAnnotations()
|
/cts/tools/dex-tools/src/dex/reader/ |
D | DexParameterImpl.java | 30 private Set<DexAnnotation> annotations; field in DexParameterImpl 49 annotations = new HashSet<DexAnnotation>(); in parseAnnotations() 54 annotations.add(new DexAnnotationImpl(buffer.createCopy(), in parseAnnotations() 65 return annotations; in getAnnotations()
|
D | DexFieldImpl.java | 36 private Set<DexAnnotation> annotations; field in DexFieldImpl 58 annotations = new HashSet<DexAnnotation>(); in parseAnnotations() 63 annotations.add(new DexAnnotationImpl(buffer.createCopy(), in parseAnnotations() 82 return annotations; in getAnnotations()
|
D | DexMethodImpl.java | 47 private Set<DexAnnotation> annotations; field in DexMethodImpl 85 annotations = new HashSet<DexAnnotation>(); in parseAnnotations() 90 annotations.add(new DexAnnotationImpl(buffer.createCopy(), in parseAnnotations() 132 return annotations; in getAnnotations()
|
D | TypeFormatter.java | 87 public String formatAnnotations(Set<DexAnnotation> annotations) { in formatAnnotations() argument 88 return format(new ArrayList<DexAnnotation>(annotations), "\n") + "\n"; in formatAnnotations()
|
D | DexClassImpl.java | 63 private Set<DexAnnotation> annotations; field in DexClassImpl 237 annotations = new HashSet<DexAnnotation>(); in parseClassAnnotations() 242 annotations.add(new DexAnnotationImpl(buffer.createCopy(), in parseClassAnnotations() 331 return annotations; in getAnnotations()
|
/cts/tools/cts-java-scanner-doclet/src/com/android/cts/javascannerdoclet/ |
D | CtsJavaScannerDoclet.java | 96 AnnotationDesc[] annotations = method.annotations(); in start() local 97 for (AnnotationDesc annot : annotations) { in start() 114 for (AnnotationDesc annot : method.annotations()) { in start() 157 for (AnnotationDesc annot : method.annotations()) { in isJUnit4TestClass()
|
/cts/tools/signature-tools/src/signature/converter/doclet/ |
D | DocletToSigConverter.java | 120 p.setAnnotations(convertAnnotations(packageDoc.annotations())); in convertPackage() 249 convertAnnotations(entry.getValue().annotations())); in convertClass() 256 c.setAnnotations(convertAnnotations(classDoc.annotations())); in convertClass() 457 m.setAnnotations(convertAnnotations(member.annotations())); in convertExecutableMember() 487 p.setAnnotations(convertAnnotations(parameter.annotations())); in convertExecutableMember() 523 f.setAnnotations(convertAnnotations(field.annotations())); in convertField() 533 ec.setAnnotations(convertAnnotations(enumConstant.annotations())); in convertEnumConstant() 541 Set<IAnnotation> annotations = new HashSet<IAnnotation>(); in convertAnnotations() local 544 annotations.add(convertAnnotation(annotationDesc)); in convertAnnotations() 546 return annotations; in convertAnnotations() [all …]
|
/cts/tests/deviceadmin/src/android/deviceadmin/cts/ |
D | CtsDeviceAdminActivationTestActivity.java | 24 import com.google.common.annotations.VisibleForTesting;
|
/cts/tools/signature-tools/templates/model/ |
D | model.stg | 127 $if(element.annotations)$ 128 $element.annotations:{$SigAnnotation(element=it)$}; separator=separator$
|
/cts/tools/signature-tools/test/signature/converter/ |
D | ConvertAnnotationTest.java | 70 Set<IAnnotation> annotations = field.getAnnotations(); in convertAnnotationDefinition1() local 71 assertEquals(1, annotations.size()); in convertAnnotationDefinition1() 72 IAnnotation annotation = annotations.iterator().next(); in convertAnnotationDefinition1() 94 Set<IAnnotation> annotations = sigClass.getAnnotations(); in convertAnnotationDefinition2() local 95 assertEquals(1, annotations.size()); in convertAnnotationDefinition2() 96 IAnnotation annotation = annotations.iterator().next(); in convertAnnotationDefinition2()
|
/cts/tools/utils/ |
D | DescriptionGenerator.java | 555 AnnotationDesc[] annotations = method.annotations(); in getTestMethods() local 560 for (AnnotationDesc cAnnot : annotations) { in getTestMethods()
|
D | CollectAllTests.java | 359 Annotation[] annotations = testMethod.getAnnotations(); in getAnnotation() local 360 for (Annotation annot : annotations) { in getAnnotation()
|
/cts/tools/signature-tools/src/signature/converter/dex/ |
D | DexToSigConverter.java | 795 Set<IAnnotation> annotations = new HashSet<IAnnotation>(); in convertAnnotations() local 798 annotations.add(convertAnnotation(dexAnnotation)); in convertAnnotations() 801 return annotations; in convertAnnotations()
|
/cts/tools/dasm/src/dasm/ |
D | parser.cup | 114 annotations, ann_cls_list, ann_cls_spec, endannotation, ann_cls_expr, 146 annotations 301 annotations ::= ann_cls_list |
|