Home
last modified time | relevance | path

Searched defs:annotation (Results 1 – 25 of 36) sorted by relevance

12

/tools/metalava/src/test/java/com/android/tools/metalava/model/
DTextBackedAnnotationItemTest.kt40 val annotation = TextBackedAnnotationItem( in supportsDocumentation() constant
51 val annotation = TextBackedAnnotationItem( in testIntRange() constant
66 val annotation = TextBackedAnnotationItem( in testIntDef() constant
/tools/platform-compat/java/android/processor/compat/unsupportedappusage/
DUnsupportedAppUsageProcessor.java81 protected void process(TypeElement annotation, in process()
141 private String getAnnotationIndex(String signature, TypeElement annotation, Element element) { in getAnnotationIndex()
163 private String getSourcePositionOverride(Element element, AnnotationMirror annotation) { in getSourcePositionOverride()
181 private boolean hasElement(AnnotationMirror annotation, String elementName) { in hasElement()
186 private String getAllProperties(AnnotationMirror annotation) { in getAllProperties()
197 private String getAnnotationElementValue(AnnotationMirror annotation, in getAnnotationElementValue()
DSignatureConverter.java67 String getSignature(Types types, TypeElement annotation, Element element) { in getSignature()
216 TypeElement annotation) throws SignatureConverterException { in verifyExpectedSignature()
/tools/platform-compat/java/com/android/annotationvisitor/
DAnnotationHandler.java31 protected abstract void handleAnnotation(AnnotationEntry annotation, AnnotationContext context); in handleAnnotation()
33 protected Map<String, String> stringifyAnnotationProperties(AnnotationEntry annotation) { in stringifyAnnotationProperties()
DRepeatedAnnotationHandler.java45 public void handleAnnotation(AnnotationEntry annotation, AnnotationContext context) { in handleAnnotation()
/tools/platform-compat/java/android/processor/compat/
DSingleAnnotationProcessor.java86 TypeElement annotation = Iterables.getOnlyElement(annotations); in process() local
121 protected abstract void process(TypeElement annotation, in process()
135 protected final AnnotationMirror getSupportedAnnotationMirror(TypeElement annotation, in getSupportedAnnotationMirror()
172 Element element, AnnotationMirror annotation, String propertyName) { in getAnnotationValue()
/tools/platform-compat/java/com/android/class2nonsdklist/
DCovariantReturnTypeHandler.java51 public void handleAnnotation(AnnotationEntry annotation, AnnotationContext context) { in handleAnnotation()
58 private void handleAnnotation(AnnotationEntry annotation, AnnotatedMemberContext context) { in handleAnnotation()
DUnsupportedAppUsageAnnotationHandler.java98 public void handleAnnotation(AnnotationEntry annotation, AnnotationContext context) { in handleAnnotation()
/tools/metalava/src/main/java/com/android/tools/metalava/
DExtractAnnotations.kt130 for ((item, annotation) in pairs) { in <lambda>() variable
190 for (annotation in item.modifiers.annotations()) { in <lambda>() method
337 val annotation = JavaUAnnotation.wrap(psiAnnotation) in <lambda>() constant
541 val annotation = expression as UAnnotation in <lambda>() constant
544 val annotation = expression.uAnnotation in <lambda>() constant
549 val annotation = JavaUAnnotation.wrap(memberValue) in <lambda>() constant
DAndroidApiChecks.kt177 … val annotation = method.modifiers.findAnnotation("android.support.annotation.RequiresPermission") in checkRequiresPermission() constant
259 for (annotation in item.modifiers.annotations()) { in checkVariable() variable
DConvertJarsToSignatureFiles.kt82 val annotation = NullnessMigration.findNullnessAnnotation(new) ?: return in <lambda>() constant
DSdkFileWriter.kt79 for (annotation in annotations) { in generate() constant
101 for (annotation in annotations) { in generate() constant
DKotlinInteropChecks.kt100 val annotation = method.modifiers.findAnnotation("kotlin.jvm.Throws") in <lambda>() constant
DApiAnalyzer.kt689 val annotation = method.modifiers.findAnnotation(ANDROID_REQUIRES_PERMISSION) in <lambda>() constant
798 val annotationName = (item.modifiers.annotations().firstOrNull { annotation -> in <lambda>() method
867 val annotation = method.modifiers.annotations().find { it.isNullable() } in <lambda>() constant
DAnnotationsDiffer.kt81 for (annotation in old.modifiers.annotations()) { in <lambda>() constant
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiParameterItem.kt66 val annotation = modifiers.annotations().firstOrNull { it.isParameterName() } in name() constant
164 val annotation = modifiers.annotations().firstOrNull { it.isDefaultValue() } in computeDefaultValue() constant
DPsiTypePrinter.kt374 for (annotation in elementAnnotations) { in <lambda>() method
385 for (annotation in list) { in <lambda>() method
399 for (annotation in elementAnnotations) { in <lambda>() method
410 for (annotation in list) { in <lambda>() method
514 for (annotation in annotations) { in <lambda>() variable
523 for (annotation in elementAnnotations) { in <lambda>() constant
/tools/platform-compat/javatest/com/android/annotationvisitor/
DRepeatedAnnotationHandlerTest.java88 protected void handleAnnotation(AnnotationEntry annotation, in handleAnnotation()
/tools/dexter/slicer/
Dcode_ir.cc129 auto annotation = Alloc<DbgInfoAnnotation>(dex::DBG_SET_FILE); in DissasembleDebugInfo() local
138 auto annotation = Alloc<DbgInfoAnnotation>(dex::DBG_ADVANCE_LINE); in DissasembleDebugInfo() local
148 DbgInfoAnnotation* annotation = nullptr; in DissasembleDebugInfo() local
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DPsiTypePrinterTest.kt840 for (annotation in extraAnnotations) { in <lambda>() constant
847 for (annotation in annotations) { in <lambda>() constant
892 for (annotation in uastAnnotations) { in <lambda>() constant
895 for (annotation in psiAnnotations) { in <lambda>() constant
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DModifierList.kt148 return annotations().any { annotation -> in <lambda>() method
168 return annotations().any { annotation -> in <lambda>() method
526 for (annotation in annotations) { in <lambda>() variable
DItem.kt250 val annotation = findNullnessAnnotation(this) ?: return in psi() constant
/tools/platform-compat/java/android/processor/compat/changeid/
DChangeIdProcessor.java81 protected void process(TypeElement annotation, in process()
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1DerEncoder.java219 Asn1Field annotation = field.getDeclaredAnnotation(Asn1Field.class); in getAnnotatedFields() local
358 public AnnotatedField(Object obj, Field field, Asn1Field annotation) in AnnotatedField()
DAsn1BerParser.java360 public AnnotatedField(Field field, Asn1Field annotation) throws Asn1DecodingException { in AnnotatedField()
533 Asn1Field annotation = field.getDeclaredAnnotation(Asn1Field.class); in getAnnotatedFields() local

12