Home
last modified time | relevance | path

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

12345678910>>...16

/external/tensorflow/tensorflow/core/profiler/utils/
Dparse_annotation_test.cc48 Annotation annotation = ParseAnnotation(""); in TEST() local
54 Annotation annotation = ParseAnnotation("name"); in TEST() local
60 Annotation annotation = ParseAnnotation("name "); in TEST() local
66 Annotation annotation = ParseAnnotation("name#"); in TEST() local
80 Annotation annotation = ParseAnnotation("name#key=value#"); in TEST() local
88 Annotation annotation = ParseAnnotation("name#k1=v1,k2=v2,k3=v3#"); in TEST() local
100 Annotation annotation = ParseAnnotation("name # k1 = v1, ,k2=v2 #"); in TEST() local
110 Annotation annotation = ParseAnnotation("name#=v1,k2=,k3==v3,k4=v4=#"); in TEST() local
123 Annotation annotation = ParseAnnotation("name##k1=v1#"); in TEST() local
130 Annotation annotation = ParseAnnotation( in TEST() local
[all …]
/external/dagger2/java/dagger/internal/codegen/base/
DMoreAnnotationValues.java80 public static int getIntValue(AnnotationMirror annotation, String valueName) { in getIntValue()
86 AnnotationMirror annotation, String valueName) { in getOptionalIntValue()
93 public static String getStringValue(AnnotationMirror annotation, String valueName) { in getStringValue()
99 AnnotationMirror annotation, String valueName) { in getOptionalStringValue()
106 public static int[] getIntArrayValue(AnnotationMirror annotation, String valueName) { in getIntArrayValue()
113 public static String[] getStringArrayValue(AnnotationMirror annotation, String valueName) { in getStringArrayValue()
119 private static boolean isValuePresent(AnnotationMirror annotation, String valueName) { in isValuePresent()
DModuleAnnotation.java48 public abstract AnnotationMirror annotation(); in annotation() method in ModuleAnnotation
94 public static boolean isModuleAnnotation(AnnotationMirror annotation) { in isModuleAnnotation()
111 public static ModuleAnnotation moduleAnnotation(AnnotationMirror annotation) { in moduleAnnotation()
115 annotation); in moduleAnnotation() local
/external/junit/src/main/java/org/junit/internal/runners/rules/
DRuleMemberValidator.java71 private final Class<? extends Annotation> annotation; field in RuleMemberValidator
112 private final Class<? extends Annotation> annotation; field in RuleMemberValidator.Builder
116 private Builder(Class<? extends Annotation> annotation) { in Builder()
160 …void validate(FrameworkMember<?> member, Class<? extends Annotation> annotation, List<Throwable> e… in validate()
167 …public void validate(FrameworkMember<?> member, Class<? extends Annotation> annotation, List<Throw… in validate()
192 …public void validate(FrameworkMember<?> member, Class<? extends Annotation> annotation, List<Throw… in validate()
204 …public void validate(FrameworkMember<?> member, Class<? extends Annotation> annotation, List<Throw… in validate()
220 …public void validate(FrameworkMember<?> member, Class<? extends Annotation> annotation, List<Throw… in validate()
232 …public void validate(FrameworkMember<?> member, Class<? extends Annotation> annotation, List<Throw… in validate()
245 …public void validate(FrameworkMember<?> member, Class<? extends Annotation> annotation, List<Throw… in validate()
[all …]
/external/testng/src/test/java/test/annotationtransformer/
DMyListenerTransformer.java16 public void transform(IListenersAnnotation annotation, Class testClass) { in transform()
21 public void transform(IConfigurationAnnotation annotation, Class testClass, in transform()
25 public void transform(IDataProviderAnnotation annotation, Method method) {} in transform()
28 public void transform(IFactoryAnnotation annotation, Method method) {} in transform()
31 public void transform(ITestAnnotation annotation, Class testClass, Constructor testConstructor, in transform()
DDataProviderTransformer.java15 public void transform(IConfigurationAnnotation annotation, Class testClass, in transform()
21 public void transform(IDataProviderAnnotation annotation, Method testMethod) { in transform()
26 public void transform(ITestAnnotation annotation, Class testClass, in transform()
32 public void transform(IFactoryAnnotation annotation, Method testMethod) { in transform()
DConfigurationTransformer.java15 public void transform(ITestAnnotation annotation, Class testClass, in transform()
21 public void transform(IConfigurationAnnotation annotation, Class testClass, in transform()
30 public void transform(IDataProviderAnnotation annotation, Method testMethod) { in transform()
34 public void transform(IFactoryAnnotation annotation, Method testMethod) { in transform()
DFactoryTransformer.java15 public void transform(IConfigurationAnnotation annotation, Class testClass, in transform()
21 public void transform(IDataProviderAnnotation annotation, Method testMethod) { in transform()
25 public void transform(ITestAnnotation annotation, Class testClass, in transform()
31 public void transform(IFactoryAnnotation annotation, Method testMethod) { in transform()
/external/proguard/src/proguard/classfile/attribute/annotation/visitor/
DElementValueVisitor.java34 …public void visitConstantElementValue( Clazz clazz, Annotation annotation, Const… in visitConstantElementValue()
35 …public void visitEnumConstantElementValue(Clazz clazz, Annotation annotation, EnumC… in visitEnumConstantElementValue()
36 …public void visitClassElementValue( Clazz clazz, Annotation annotation, Class… in visitClassElementValue()
37 …public void visitAnnotationElementValue( Clazz clazz, Annotation annotation, Annot… in visitAnnotationElementValue()
38 …public void visitArrayElementValue( Clazz clazz, Annotation annotation, Array… in visitArrayElementValue()
DAnnotationVisitor.java37 …id visitAnnotation(Clazz clazz, Annotation annotation); in visitAnnotation()
38 …id visitAnnotation(Clazz clazz, Field field, Annotation annotation); in visitAnnotation()
39 …id visitAnnotation(Clazz clazz, Method method, Annotation annotation); in visitAnnotation()
40 …id visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation); in visitAnnotation()
41 …id visitAnnotation(Clazz clazz, Method method, CodeAttribute codeAttribute, Annotation annotation); in visitAnnotation()
DAllElementValueVisitor.java136 public void visitAnnotation(Clazz clazz, Annotation annotation) in visitAnnotation()
142 public void visitAnnotation(Clazz clazz, Field field, Annotation annotation) in visitAnnotation()
148 public void visitAnnotation(Clazz clazz, Method method, Annotation annotation) in visitAnnotation()
154 … public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation) in visitAnnotation()
160 …oid visitAnnotation(Clazz clazz, Method method, CodeAttribute codeAttribute, Annotation annotation) in visitAnnotation()
168 …public void visitConstantElementValue(Clazz clazz, Annotation annotation, ConstantElementValue con… in visitConstantElementValue()
174 …public void visitEnumConstantElementValue(Clazz clazz, Annotation annotation, EnumConstantElementV… in visitEnumConstantElementValue()
180 …public void visitClassElementValue(Clazz clazz, Annotation annotation, ClassElementValue classElem… in visitClassElementValue()
186 …public void visitAnnotationElementValue(Clazz clazz, Annotation annotation, AnnotationElementValue… in visitAnnotationElementValue()
197 …public void visitArrayElementValue(Clazz clazz, Annotation annotation, ArrayElementValue arrayElem… in visitArrayElementValue()
DAnnotationTypeFilter.java59 public void visitAnnotation(Clazz clazz, Annotation annotation) in visitAnnotation()
68 public void visitAnnotation(Clazz clazz, Field field, Annotation annotation) in visitAnnotation()
77 public void visitAnnotation(Clazz clazz, Method method, Annotation annotation) in visitAnnotation()
86 … public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation) in visitAnnotation()
95 …oid visitAnnotation(Clazz clazz, Method method, CodeAttribute codeAttribute, Annotation annotation) in visitAnnotation()
/external/junit-params/src/main/java/junitparams/converters/
DParamAnnotation.java7 public static boolean matches(Annotation annotation) { in matches()
11 …public static Object convert(Annotation annotation, Object param) throws ConversionFailedException… in convert()
15 private static Param getParam(Annotation annotation) { in getParam()
22 private static Converter converter(Annotation annotation) { in converter()
/external/libtextclassifier/native/actions/
Dranker_test.cc93 ActionSuggestionAnnotation annotation; in TEST() local
104 ActionSuggestionAnnotation annotation; in TEST() local
115 ActionSuggestionAnnotation annotation; in TEST() local
145 ActionSuggestionAnnotation annotation; in TEST() local
156 ActionSuggestionAnnotation annotation; in TEST() local
167 ActionSuggestionAnnotation annotation; in TEST() local
199 ActionSuggestionAnnotation annotation; in TEST() local
210 ActionSuggestionAnnotation annotation; in TEST() local
274 ActionSuggestionAnnotation annotation; in TEST() local
304 ActionSuggestionAnnotation annotation; in TEST() local
[all …]
/external/libbackup/src/com/google/android/libraries/backup/
DBackupKeyPredicates.java27 Class<? extends Annotation> annotation, Class<?>... klasses) { in buildPredicateFromAnnotatedFieldsIn()
41 Class<? extends Annotation> annotation, Class<?>... klasses) { in buildPredicateFromAnnotatedRegexFieldsIn()
51 Class<? extends Annotation> annotation, Class<?>... klasses) { in getAnnotatedFieldValues()
60 Class<? extends Annotation> annotation, Class<?> klass, Set<String> values) { in addAnnotatedFieldValues()
67 Class<? extends Annotation> annotation, Field field, Set<String> values) { in addFieldValueIfAnnotated()
/external/dagger2/java/dagger/hilt/processor/internal/
DProcessors.java93 AnnotationMirror annotation) { in getAnnotationValues()
113 Elements elements, AnnotationMirror annotation) { in getAnnotationAnnotationArrayValues()
145 Elements elements, AnnotationMirror annotation, String key) { in getAnnotationClassValue()
151 Elements elements, AnnotationMirror annotation, String key) { in getAnnotationClassValues()
161 annotation); in getAnnotationClassValues() local
168 Elements elements, AnnotationMirror annotation) { in getAnnotationClassValues()
186 Elements elements, AnnotationMirror annotation, String key) { in getOptionalAnnotationClassValue()
194 Elements elements, AnnotationMirror annotation, String key) { in getOptionalAnnotationClassValues()
DAnnotationValues.java118 public static int getIntValue(AnnotationMirror annotation, String valueName) { in getIntValue()
124 AnnotationMirror annotation, String valueName) { in getOptionalIntValue()
131 public static String getStringValue(AnnotationMirror annotation, String valueName) { in getStringValue()
137 AnnotationMirror annotation, String valueName) { in getOptionalStringValue()
144 public static int[] getIntArrayValue(AnnotationMirror annotation, String valueName) { in getIntArrayValue()
151 public static String[] getStringArrayValue(AnnotationMirror annotation, String valueName) { in getStringArrayValue()
157 private static boolean isValuePresent(AnnotationMirror annotation, String valueName) { in isValuePresent()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DAnnotationPool.java49 public void intern(@Nonnull Annotation annotation) { in intern()
60 @Override public int getVisibility(@Nonnull Annotation annotation) { in getVisibility()
64 @Nonnull @Override public CharSequence getType(@Nonnull Annotation annotation) { in getType()
68 …erride public Collection<? extends AnnotationElement> getElements(@Nonnull Annotation annotation) { in getElements()
/external/opencensus-java/api/src/test/java/io/opencensus/trace/
DAnnotationTest.java39 Annotation annotation = Annotation.fromDescription("MyAnnotationText"); in fromDescription() local
59 Annotation annotation = Annotation.fromDescriptionAndAttributes("MyAnnotationText", attributes); in fromDescriptionAndAttributes() local
66 Annotation annotation = in fromDescriptionAndAttributes_EmptyAttributes() local
93 Annotation annotation = Annotation.fromDescription("MyAnnotationText"); in annotation_ToString() local
/external/dagger2/java/dagger/internal/codegen/validation/
DValidationReport.java149 public abstract Optional<AnnotationMirror> annotation(); in annotation() method in ValidationReport.Item
187 public Builder<T> addError(String message, Element element, AnnotationMirror annotation) { in addError()
194 AnnotationMirror annotation, in addError()
207 Builder<T> addWarning(String message, Element element, AnnotationMirror annotation) { in addWarning()
214 AnnotationMirror annotation, in addWarning()
227 Builder<T> addNote(String message, Element element, AnnotationMirror annotation) { in addNote()
234 AnnotationMirror annotation, in addNote()
243 Builder<T> addItem(String message, Kind kind, Element element, AnnotationMirror annotation) { in addItem()
251 AnnotationMirror annotation, in addItem()
260 Optional<AnnotationMirror> annotation, in addItem()
/external/proguard/src/proguard/shrink/
DAnnotationUsageMarker.java123 public void visitAnnotation(Clazz clazz, Annotation annotation) in visitAnnotation()
144 …public void visitConstantElementValue(Clazz clazz, Annotation annotation, ConstantElementValue con… in visitConstantElementValue()
157 …public void visitEnumConstantElementValue(Clazz clazz, Annotation annotation, EnumConstantElementV… in visitEnumConstantElementValue()
178 …public void visitClassElementValue(Clazz clazz, Annotation annotation, ClassElementValue classElem… in visitClassElementValue()
196 …public void visitAnnotationElementValue(Clazz clazz, Annotation annotation, AnnotationElementValue… in visitAnnotationElementValue()
219 …public void visitArrayElementValue(Clazz clazz, Annotation annotation, ArrayElementValue arrayElem… in visitArrayElementValue()
294 private boolean isReferencedClassUsed(Annotation annotation) in isReferencedClassUsed()
/external/guice/core/src/com/google/inject/
DKey.java91 protected Key(Annotation annotation) { in Key()
159 Annotation annotation = annotationStrategy.getAnnotation(); in getAnnotationName() local
223 public static <T> Key<T> get(Class<T> type, Annotation annotation) { in get()
238 public static Key<?> get(Type type, Annotation annotation) { in get()
254 public static <T> Key<T> get(TypeLiteral<T> typeLiteral, Annotation annotation) { in get()
314 static AnnotationStrategy strategyFor(Annotation annotation) { in strategyFor()
386 final Annotation annotation; field in Key.AnnotationInstanceStrategy
388 AnnotationInstanceStrategy(Annotation annotation) { in AnnotationInstanceStrategy()
438 final Annotation annotation; field in Key.AnnotationTypeStrategy
440 AnnotationTypeStrategy(Class<? extends Annotation> annotationType, Annotation annotation) { in AnnotationTypeStrategy()
/external/testng/src/main/java/org/testng/
DIAnnotationTransformer2.java30 public void transform(IConfigurationAnnotation annotation, Class testClass, in transform()
38 public void transform(IDataProviderAnnotation annotation, Method method); in transform()
45 public void transform(IFactoryAnnotation annotation, Method method); in transform()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/builders/
DNodeWithAnnotationsBuildersTest.java44 NormalAnnotationExpr annotation = testClass.addAndGetAnnotation(hey.class); in testAddAnnotation() local
79 NormalAnnotationExpr annotation = testClass.addAndGetAnnotation(hey.class); in testGetAnnotationByName() local
85 NormalAnnotationExpr annotation = testClass.addAndGetAnnotation(hey.class); in testGetAnnotationByClass() local
/external/proguard/src/proguard/classfile/editor/
DElementValueAdder.java100 …public void visitConstantElementValue(Clazz clazz, Annotation annotation, ConstantElementValue con… in visitConstantElementValue()
117 …public void visitEnumConstantElementValue(Clazz clazz, Annotation annotation, EnumConstantElementV… in visitEnumConstantElementValue()
137 …public void visitClassElementValue(Clazz clazz, Annotation annotation, ClassElementValue classElem… in visitClassElementValue()
156 …public void visitAnnotationElementValue(Clazz clazz, Annotation annotation, AnnotationElementValue… in visitAnnotationElementValue()
176 …public void visitArrayElementValue(Clazz clazz, Annotation annotation, ArrayElementValue arrayElem… in visitArrayElementValue()

12345678910>>...16