Home
last modified time | relevance | path

Searched refs:getAnnotations (Results 1 – 24 of 24) sorted by relevance

/cts/tools/signature-tools/src/signature/model/impl/
DSigAnnotatableElement.java35 public Set<IAnnotation> getAnnotations() { in getAnnotations() method in SigAnnotatableElement
46 for (IAnnotation annotation : getAnnotations()) { in toString()
DSigField.java64 if (getAnnotations() != null && !getAnnotations().isEmpty()) { in toString()
DSigClassDefinition.java218 if (type.getAnnotations() != null && !type.getAnnotations().isEmpty()) { in toString()
/cts/tools/signature-tools/src/signature/compare/model/subst/
DParameterProjection.java37 public Set<IAnnotation> getAnnotations() { in getAnnotations() method in ParameterProjection
38 return original.getAnnotations(); in getAnnotations()
DExecutableMemberProjection.java43 public Set<IAnnotation> getAnnotations() { in getAnnotations() method in ExecutableMemberProjection
44 return original.getAnnotations(); in getAnnotations()
DClassProjection.java53 public Set<IAnnotation> getAnnotations() { in getAnnotations() method in ClassProjection
/cts/tools/signature-tools/test/signature/converter/
DConvertPackageTest.java41 assertEquals(1, sigPackage.getAnnotations().size()); in testPackageAnnotation()
42 IAnnotation annotation = sigPackage.getAnnotations().iterator().next(); in testPackageAnnotation()
DConvertClassTest.java119 assertEquals(1, sigClass.getAnnotations().size()); in convertAnnotationTest()
120 IAnnotation annotation = sigClass.getAnnotations().iterator().next(); in convertAnnotationTest()
141 assertEquals(1, field.getAnnotations().size()); in convertAnnotationOnFieldTest()
142 IAnnotation annotation = field.getAnnotations().iterator().next(); in convertAnnotationOnFieldTest()
DConvertAnnotationTest.java70 Set<IAnnotation> annotations = field.getAnnotations(); in convertAnnotationDefinition1()
94 Set<IAnnotation> annotations = sigClass.getAnnotations(); in convertAnnotationDefinition2()
729 assertTrue(aType.getAnnotations().isEmpty()); in testAnnotationRetentionRuntime()
758 assertEquals(1, aType.getAnnotations().size()); in testAnnotationRetentionClass()
/cts/tools/dex-tools/src/dex/structure/
DDexAnnotatedElement.java32 Set<DexAnnotation> getAnnotations(); in getAnnotations() method
/cts/tools/signature-tools/src/signature/model/
DIAnnotatableElement.java38 Set<IAnnotation> getAnnotations(); in getAnnotations() method
/cts/tools/dex-tools/src/dex/reader/
DDexFieldImpl.java81 public synchronized Set<DexAnnotation> getAnnotations() { in getAnnotations() method in DexFieldImpl
96 builder.append(formatter.formatAnnotations(getAnnotations())); in toString()
DDexMethodImpl.java131 public Set<DexAnnotation> getAnnotations() { in getAnnotations() method in DexMethodImpl
142 builder.append(formatter.formatAnnotations(getAnnotations())); in toString()
152 .getAnnotations())); in toString()
DDexParameterImpl.java64 public Set<DexAnnotation> getAnnotations() { in getAnnotations() method in DexParameterImpl
DDexClassImpl.java330 public Set<DexAnnotation> getAnnotations() { in getAnnotations() method in DexClassImpl
345 builder.append(formatter.formatAnnotations(getAnnotations())); in toString()
/cts/tools/dex-tools/test/dex/reader/
DDexFileReaderTests.java179 assertEquals(2, A0.getAnnotations().size()); in testA0()
200 assertEquals(1, T3.getAnnotations().size()); in testA0_T3()
335 assertEquals(1, dexParameter.getAnnotations().size()); in testParameterAnnotation()
336 DexAnnotation annotation = dexParameter.getAnnotations().iterator().next(); in testParameterAnnotation()
DDexTestsCommon.java120 for (DexAnnotation anno : element.getAnnotations()) { in getAnnotation()
/cts/tools/signature-tools/src/signature/converter/dex/
DDexToSigConverter.java187 aPackage.setAnnotations(packageInfo.getAnnotations()); in convertPackages()
420 sigClass.setAnnotations(convertAnnotations(dexClass.getAnnotations())); in convertClass()
465 .getAnnotations())); in addAnnotationsToAnnotationFields()
510 .getAnnotations())); in convertEnumConstant()
531 field.setAnnotations(convertAnnotations(dexField.getAnnotations())); in convertField()
614 .getAnnotations())); in convertConstructor()
636 .getAnnotations())); in convertConstructor()
687 method.setAnnotations(convertAnnotations(dexMethod.getAnnotations())); in convertMethod()
707 .getAnnotations())); in convertMethod()
763 .getAnnotations())); in convertNonGenericExecutableMember()
DDexUtil.java373 for (DexAnnotation anno : element.getAnnotations()) { in getAnnotation()
/cts/tools/signature-tools/src/signature/compare/
DApiComparator.java170 .getAnnotations(), to.getAnnotations()); in comparePackage()
281 .getAnnotations(), to.getAnnotations()); in compareClass()
693 .getAnnotations(), to.getAnnotations());
892 .getAnnotations(), to.getAnnotations());
950 .getAnnotations(), to.getAnnotations());
1059 .getAnnotations(), to.getAnnotations());
1090 .getAnnotations(), to.getAnnotations());
1132 .getAnnotations(), to.getAnnotations());
/cts/tools/signature-tools/src/signature/model/util/
DTypePool.java164 if (!isInitialized(clazz.getAnnotations())) { in replaceUninitializedWithNull()
167 if (!isInitialized(clazz.getAnnotations())) { in replaceUninitializedWithNull()
DModelUtil.java55 for (IAnnotation annotation : element.getAnnotations()) { in getAnnotation()
/cts/tools/utils/
DCollectAllTests.java359 Annotation[] annotations = testMethod.getAnnotations(); in getAnnotation()
470 for (Annotation a : klass.getAnnotations()) { in isJunit4Class()
490 for (Annotation a : method.getAnnotations()) { in isJunit4TestMethod()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex15293 public abstract java.lang.annotation.Annotation[] getAnnotations()
15422 public java.lang.annotation.Annotation[] getAnnotations()
17047 public java.lang.annotation.Annotation[] getAnnotations()
20264 public java.lang.annotation.Annotation[] getAnnotations()