Home
last modified time | relevance | path

Searched refs:annotation (Results 1 – 25 of 156) sorted by relevance

1234567

/tools/platform-compat/java/android/processor/compat/unsupportedappusage/
DUnsupportedAppUsageProcessor.java37 import javax.annotation.Nullable;
38 import javax.annotation.processing.SupportedAnnotationTypes;
39 import javax.annotation.processing.SupportedSourceVersion;
81 protected void process(TypeElement annotation, in process() argument
91 types, annotation, annotatedElement); in process()
93 String annotationIndex = getAnnotationIndex(signature, annotation, in process()
141 private String getAnnotationIndex(String signature, TypeElement annotation, Element element) { in getAnnotationIndex() argument
142 AnnotationMirror annotationMirror = getSupportedAnnotationMirror(annotation, element); in getAnnotationIndex()
163 private String getSourcePositionOverride(Element element, AnnotationMirror annotation) { in getSourcePositionOverride() argument
165 getAnnotationValue(element, annotation, OVERRIDE_SOURCE_POSITION_PROPERTY); in getSourcePositionOverride()
[all …]
/tools/platform-compat/java/android/processor/compat/
DSingleAnnotationProcessor.java34 import javax.annotation.Nullable;
35 import javax.annotation.processing.AbstractProcessor;
36 import javax.annotation.processing.Messager;
37 import javax.annotation.processing.ProcessingEnvironment;
38 import javax.annotation.processing.RoundEnvironment;
86 TypeElement annotation = Iterables.getOnlyElement(annotations); in process() local
88 Preconditions.checkState(supportedAnnotation.equals(annotation.toString())); in process()
91 for (Element annotatedElement : roundEnvironment.getElementsAnnotatedWith(annotation)) { in process()
93 getSupportedAnnotationMirror(annotation, annotatedElement); in process()
109 process(annotation, annotatedElements); in process()
[all …]
/tools/dexter/slicer/
Dcode_ir.cc129 auto annotation = Alloc<DbgInfoAnnotation>(dex::DBG_SET_FILE); in DissasembleDebugInfo() local
130 annotation->offset = 0; in DissasembleDebugInfo()
131 annotation->operands.push_back(Alloc<String>( in DissasembleDebugInfo()
133 dbg_annotations_.push_back(annotation); in DissasembleDebugInfo()
138 auto annotation = Alloc<DbgInfoAnnotation>(dex::DBG_ADVANCE_LINE); in DissasembleDebugInfo() local
139 annotation->offset = 0; in DissasembleDebugInfo()
140 annotation->operands.push_back(Alloc<LineNumber>(line)); in DissasembleDebugInfo()
141 dbg_annotations_.push_back(annotation); in DissasembleDebugInfo()
148 DbgInfoAnnotation* annotation = nullptr; in DissasembleDebugInfo() local
163 annotation = Alloc<DbgInfoAnnotation>(opcode); in DissasembleDebugInfo()
[all …]
/tools/metalava/stub-annotations/src/main/java/androidx/annotation/
DNonNull.java16 package androidx.annotation;
18 import static java.lang.annotation.ElementType.FIELD;
19 import static java.lang.annotation.ElementType.METHOD;
20 import static java.lang.annotation.ElementType.PARAMETER;
21 import static java.lang.annotation.ElementType.PACKAGE;
22 import static java.lang.annotation.ElementType.TYPE_PARAMETER;
23 import static java.lang.annotation.ElementType.TYPE_USE;
24 import static java.lang.annotation.RetentionPolicy.CLASS;
26 import java.lang.annotation.Retention;
27 import java.lang.annotation.Target;
DNullable.java16 package androidx.annotation;
18 import static java.lang.annotation.ElementType.FIELD;
19 import static java.lang.annotation.ElementType.METHOD;
20 import static java.lang.annotation.ElementType.PACKAGE;
21 import static java.lang.annotation.ElementType.PARAMETER;
22 import static java.lang.annotation.ElementType.TYPE_PARAMETER;
23 import static java.lang.annotation.ElementType.TYPE_USE;
24 import static java.lang.annotation.RetentionPolicy.CLASS;
26 import java.lang.annotation.Retention;
27 import java.lang.annotation.Target;
DRestrictTo.java16 package androidx.annotation;
18 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
19 import static java.lang.annotation.ElementType.CONSTRUCTOR;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.METHOD;
22 import static java.lang.annotation.ElementType.PACKAGE;
23 import static java.lang.annotation.ElementType.TYPE;
24 import static java.lang.annotation.RetentionPolicy.CLASS;
26 import java.lang.annotation.Retention;
27 import java.lang.annotation.Target;
DDimension.java17 package androidx.annotation;
19 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PARAMETER;
24 import static java.lang.annotation.RetentionPolicy.CLASS;
26 import java.lang.annotation.Retention;
27 import java.lang.annotation.Target;
DIntRange.java16 package androidx.annotation;
18 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
19 import static java.lang.annotation.ElementType.FIELD;
20 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
21 import static java.lang.annotation.ElementType.METHOD;
22 import static java.lang.annotation.ElementType.PARAMETER;
23 import static java.lang.annotation.RetentionPolicy.CLASS;
25 import java.lang.annotation.Retention;
26 import java.lang.annotation.Target;
DSize.java16 package androidx.annotation;
18 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
19 import static java.lang.annotation.ElementType.FIELD;
20 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
21 import static java.lang.annotation.ElementType.METHOD;
22 import static java.lang.annotation.ElementType.PARAMETER;
23 import static java.lang.annotation.RetentionPolicy.CLASS;
25 import java.lang.annotation.Retention;
26 import java.lang.annotation.Target;
DFloatRange.java16 package androidx.annotation;
18 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
19 import static java.lang.annotation.ElementType.FIELD;
20 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
21 import static java.lang.annotation.ElementType.METHOD;
22 import static java.lang.annotation.ElementType.PARAMETER;
23 import static java.lang.annotation.RetentionPolicy.CLASS;
25 import java.lang.annotation.Retention;
26 import java.lang.annotation.Target;
DRequiresPermission.java16 package androidx.annotation;
18 import java.lang.annotation.Retention;
19 import java.lang.annotation.Target;
21 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
22 import static java.lang.annotation.ElementType.CONSTRUCTOR;
23 import static java.lang.annotation.ElementType.FIELD;
24 import static java.lang.annotation.ElementType.METHOD;
25 import static java.lang.annotation.ElementType.PARAMETER;
26 import static java.lang.annotation.RetentionPolicy.CLASS;
DAnyThread.java16 package androidx.annotation;
18 import static java.lang.annotation.ElementType.CONSTRUCTOR;
19 import static java.lang.annotation.ElementType.METHOD;
20 import static java.lang.annotation.ElementType.PARAMETER;
21 import static java.lang.annotation.ElementType.TYPE;
22 import static java.lang.annotation.RetentionPolicy.CLASS;
24 import java.lang.annotation.Retention;
25 import java.lang.annotation.Target;
DArrayRes.java16 package androidx.annotation;
18 import static java.lang.annotation.ElementType.FIELD;
19 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
20 import static java.lang.annotation.ElementType.METHOD;
21 import static java.lang.annotation.ElementType.PARAMETER;
22 import static java.lang.annotation.RetentionPolicy.CLASS;
24 import java.lang.annotation.Retention;
25 import java.lang.annotation.Target;
DInterpolatorRes.java16 package androidx.annotation;
18 import static java.lang.annotation.ElementType.FIELD;
19 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
20 import static java.lang.annotation.ElementType.METHOD;
21 import static java.lang.annotation.ElementType.PARAMETER;
22 import static java.lang.annotation.RetentionPolicy.CLASS;
24 import java.lang.annotation.Retention;
25 import java.lang.annotation.Target;
DStyleableRes.java16 package androidx.annotation;
18 import static java.lang.annotation.ElementType.FIELD;
19 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
20 import static java.lang.annotation.ElementType.METHOD;
21 import static java.lang.annotation.ElementType.PARAMETER;
22 import static java.lang.annotation.RetentionPolicy.CLASS;
24 import java.lang.annotation.Retention;
25 import java.lang.annotation.Target;
DStyleRes.java16 package androidx.annotation;
18 import static java.lang.annotation.ElementType.FIELD;
19 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
20 import static java.lang.annotation.ElementType.METHOD;
21 import static java.lang.annotation.ElementType.PARAMETER;
22 import static java.lang.annotation.RetentionPolicy.CLASS;
24 import java.lang.annotation.Retention;
25 import java.lang.annotation.Target;
DMainThread.java16 package androidx.annotation;
18 import static java.lang.annotation.ElementType.CONSTRUCTOR;
19 import static java.lang.annotation.ElementType.METHOD;
20 import static java.lang.annotation.ElementType.PARAMETER;
21 import static java.lang.annotation.ElementType.TYPE;
22 import static java.lang.annotation.RetentionPolicy.CLASS;
24 import java.lang.annotation.Retention;
25 import java.lang.annotation.Target;
DBoolRes.java16 package androidx.annotation;
18 import static java.lang.annotation.ElementType.FIELD;
19 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
20 import static java.lang.annotation.ElementType.METHOD;
21 import static java.lang.annotation.ElementType.PARAMETER;
22 import static java.lang.annotation.RetentionPolicy.CLASS;
24 import java.lang.annotation.Retention;
25 import java.lang.annotation.Target;
DColorRes.java16 package androidx.annotation;
18 import static java.lang.annotation.ElementType.FIELD;
19 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
20 import static java.lang.annotation.ElementType.METHOD;
21 import static java.lang.annotation.ElementType.PARAMETER;
22 import static java.lang.annotation.RetentionPolicy.CLASS;
24 import java.lang.annotation.Retention;
25 import java.lang.annotation.Target;
DAnimRes.java16 package androidx.annotation;
18 import static java.lang.annotation.ElementType.FIELD;
19 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
20 import static java.lang.annotation.ElementType.METHOD;
21 import static java.lang.annotation.ElementType.PARAMETER;
22 import static java.lang.annotation.RetentionPolicy.CLASS;
24 import java.lang.annotation.Retention;
25 import java.lang.annotation.Target;
DHalfFloat.java16 package androidx.annotation;
18 import static java.lang.annotation.ElementType.FIELD;
19 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
20 import static java.lang.annotation.ElementType.METHOD;
21 import static java.lang.annotation.ElementType.PARAMETER;
22 import static java.lang.annotation.RetentionPolicy.CLASS;
24 import java.lang.annotation.Retention;
25 import java.lang.annotation.Target;
DUiContext.java17 package androidx.annotation;
19 import static java.lang.annotation.ElementType.CONSTRUCTOR;
20 import static java.lang.annotation.ElementType.METHOD;
21 import static java.lang.annotation.ElementType.PARAMETER;
22 import static java.lang.annotation.ElementType.TYPE;
23 import static java.lang.annotation.RetentionPolicy.CLASS;
25 import java.lang.annotation.Retention;
26 import java.lang.annotation.Target;
DWorkerThread.java16 package androidx.annotation;
18 import static java.lang.annotation.ElementType.CONSTRUCTOR;
19 import static java.lang.annotation.ElementType.METHOD;
20 import static java.lang.annotation.ElementType.PARAMETER;
21 import static java.lang.annotation.ElementType.TYPE;
22 import static java.lang.annotation.RetentionPolicy.CLASS;
24 import java.lang.annotation.Retention;
25 import java.lang.annotation.Target;
DFontRes.java16 package androidx.annotation;
18 import static java.lang.annotation.ElementType.FIELD;
19 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
20 import static java.lang.annotation.ElementType.METHOD;
21 import static java.lang.annotation.ElementType.PARAMETER;
22 import static java.lang.annotation.RetentionPolicy.CLASS;
24 import java.lang.annotation.Retention;
25 import java.lang.annotation.Target;
/tools/platform-compat/java/android/compat/annotation/
DUnsupportedAppUsage.java16 package android.compat.annotation;
18 import static java.lang.annotation.ElementType.CONSTRUCTOR;
19 import static java.lang.annotation.ElementType.FIELD;
20 import static java.lang.annotation.ElementType.METHOD;
21 import static java.lang.annotation.ElementType.TYPE;
22 import static java.lang.annotation.RetentionPolicy.CLASS;
24 import java.lang.annotation.Repeatable;
25 import java.lang.annotation.Retention;
26 import java.lang.annotation.Target;

1234567