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/model/psi/
DPsiParameterItem.kt78 val annotation = modifiers.annotations().firstOrNull { it.isParameterName() } in name() constant
176 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/metalava/src/main/java/com/android/tools/metalava/
DExtractAnnotations.kt127 for ((item, annotation) in pairs) { in <lambda>() variable
187 for (annotation in item.modifiers.annotations()) { in <lambda>() method
556 val annotation = expression as UAnnotation in <lambda>() constant
560 val annotation = nestedPsi?.let { in <lambda>() constant
567 val annotation = memberValue.toUElement(UAnnotation::class.java) in <lambda>() constant
DAndroidApiChecks.kt179 val annotation = method.modifiers.findAnnotation("androidx.annotation.RequiresPermission") in checkRequiresPermission() constant
265 for (annotation in item.modifiers.annotations()) { in checkVariable() variable
DConvertJarsToSignatureFiles.kt82 val annotation = NullnessMigration.findNullnessAnnotation(new) ?: return in <lambda>() constant
DSdkFileWriter.kt78 for (annotation in annotations) { in generate() constant
100 for (annotation in annotations) { in generate() constant
DKotlinInteropChecks.kt102 val annotation = method.modifiers.findAnnotation("kotlin.jvm.Throws") in <lambda>() constant
DAnnotationsDiffer.kt81 for (annotation in old.modifiers.annotations()) { in <lambda>() constant
DApiAnalyzer.kt691 val annotation = method.modifiers.findAnnotation(ANDROID_REQUIRES_PERMISSION) in <lambda>() constant
822 item.modifiers.annotations().firstOrNull { annotation -> in <lambda>() method
892 val annotation = method.modifiers.annotations().find { it.isNullable() } in <lambda>() constant
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DPsiTypePrinterTest.kt844 for (annotation in extraAnnotations) { in <lambda>() constant
851 for (annotation in annotations) { in <lambda>() constant
896 for (annotation in uastAnnotations) { in <lambda>() constant
899 for (annotation in psiAnnotations) { in <lambda>() constant
/tools/dexter/slicer/
Dcode_ir.cc128 auto annotation = Alloc<DbgInfoAnnotation>(dex::DBG_SET_FILE); in DisassembleDebugInfo() local
137 auto annotation = Alloc<DbgInfoAnnotation>(dex::DBG_ADVANCE_LINE); in DisassembleDebugInfo() local
147 DbgInfoAnnotation* annotation = nullptr; in DisassembleDebugInfo() local
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DModifierList.kt160 return annotations().any { annotation -> in <lambda>() method
180 return annotations().any { annotation -> in <lambda>() method
468 for (annotation in annotations) { in <lambda>() variable
DItem.kt254 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