Home
last modified time | relevance | path

Searched refs:annotations (Results 1 – 15 of 15) sorted by relevance

/cts/tools/signature-tools/src/signature/model/impl/
DSigAnnotatableElement.java29 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/
DDexParameterImpl.java30 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()
DDexFieldImpl.java36 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()
DDexMethodImpl.java47 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()
DTypeFormatter.java87 public String formatAnnotations(Set<DexAnnotation> annotations) { in formatAnnotations() argument
88 return format(new ArrayList<DexAnnotation>(annotations), "\n") + "\n"; in formatAnnotations()
DDexClassImpl.java63 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/
DCtsJavaScannerDoclet.java96 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/
DDocletToSigConverter.java120 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/
DCtsDeviceAdminActivationTestActivity.java24 import com.google.common.annotations.VisibleForTesting;
/cts/tools/signature-tools/templates/model/
Dmodel.stg127 $if(element.annotations)$
128 $element.annotations:{$SigAnnotation(element=it)$}; separator=separator$
/cts/tools/signature-tools/test/signature/converter/
DConvertAnnotationTest.java70 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/
DDescriptionGenerator.java555 AnnotationDesc[] annotations = method.annotations(); in getTestMethods() local
560 for (AnnotationDesc cAnnot : annotations) { in getTestMethods()
DCollectAllTests.java359 Annotation[] annotations = testMethod.getAnnotations(); in getAnnotation() local
360 for (Annotation annot : annotations) { in getAnnotation()
/cts/tools/signature-tools/src/signature/converter/dex/
DDexToSigConverter.java795 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/
Dparser.cup114 annotations, ann_cls_list, ann_cls_spec, endannotation, ann_cls_expr,
146 annotations
301 annotations ::= ann_cls_list |