/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/ |
D | AnnotationIdTest.java | 96 Annotation[] methodAnnotations = getMethodAnnotations(methodId); in addMethodAnnotationWithBooleanElement() local 97 assertEquals(methodAnnotations.length, 1); in addMethodAnnotationWithBooleanElement() 99 Boolean elementBoolean = ((MethodAnnotation)methodAnnotations[0]).elementBoolean(); in addMethodAnnotationWithBooleanElement() 112 Annotation[] methodAnnotations = getMethodAnnotations(methodId); in addMethodAnnotationWithByteElement() local 113 assertEquals(methodAnnotations.length, 1); in addMethodAnnotationWithByteElement() 115 byte elementByte = ((MethodAnnotation)methodAnnotations[0]).elementByte(); in addMethodAnnotationWithByteElement() 128 Annotation[] methodAnnotations = getMethodAnnotations(methodId); in addMethodAnnotationWithCharElement() local 129 assertEquals(methodAnnotations.length, 1); in addMethodAnnotationWithCharElement() 131 char elementChar = ((MethodAnnotation)methodAnnotations[0]).elementChar(); in addMethodAnnotationWithCharElement() 144 Annotation[] methodAnnotations = getMethodAnnotations(methodId); in addMethodAnnotationWithDoubleElement() local [all …]
|
/external/nullaway/jar-infer/jar-infer-lib/src/main/java/com/uber/nullaway/jarinfer/ |
D | MethodAnnotationsRecord.java | 8 private final ImmutableSet<String> methodAnnotations; field in MethodAnnotationsRecord 13 ImmutableSet<String> methodAnnotations, in MethodAnnotationsRecord() argument 15 this.methodAnnotations = methodAnnotations; in MethodAnnotationsRecord() 20 return methodAnnotations; in getMethodAnnotations()
|
/external/dagger2/java/dagger/internal/codegen/validation/ |
D | AnyBindingMethodValidator.java | 54 ImmutableSet<ClassName> methodAnnotations() { in methodAnnotations() method in AnyBindingMethodValidator 63 return hasAnyAnnotation(method, methodAnnotations()); in isBindingMethod() 94 methodAnnotations().stream().filter(method::hasAnnotation).collect(toImmutableSet()); in validateUncached() 110 methodAnnotations().stream().map(ClassName::canonicalName).collect(joining(", "))), in validateUncached()
|
D | ComponentDescriptorValidator.java | 259 String methodAnnotations; in abstractModuleHasInstanceBindingMethodsError() local 262 methodAnnotations = "@Provides"; in abstractModuleHasInstanceBindingMethodsError() 265 methodAnnotations = "@Provides or @Produces"; in abstractModuleHasInstanceBindingMethodsError() 273 module.moduleElement(), methodAnnotations); in abstractModuleHasInstanceBindingMethodsError()
|
D | BindingMethodProcessingStep.java | 42 return anyBindingMethodValidator.methodAnnotations(); in annotationClassNames()
|
/external/auto/value/src/test/java/com/google/auto/value/processor/ |
D | PropertyAnnotationsTest.java | 172 List<String> methodAnnotations = new ArrayList<>(); field in PropertyAnnotationsTest.OutputFileBuilder 185 this.methodAnnotations.addAll(ImmutableList.copyOf(innerTypes)); in addMethodAnnotations() 190 this.methodAnnotations.addAll(ImmutableList.copyOf(innerTypes)); in addMethodAnnotations() 195 String nullable = methodAnnotations.contains("@Nullable") ? "@Nullable " : ""; in build() 216 .addAll(methodAnnotations) in build()
|
/external/nullaway/nullaway/src/main/java/com/uber/nullaway/handlers/ |
D | InferredJARModelsHandler.java | 200 Set<String> methodAnnotations = methodArgAnnotations.get(RETURN); in isReturnAnnotatedNullable() local 201 if (methodAnnotations != null) { in isReturnAnnotatedNullable() 202 if (methodAnnotations.contains("javax.annotation.Nullable")) { in isReturnAnnotatedNullable()
|
/external/auto/value/src/main/java/com/google/auto/value/processor/ |
D | AutoValueishProcessor.java | 294 private final ImmutableList<String> methodAnnotations; field in AutoValueishProcessor.GetterProperty 302 ImmutableList<String> methodAnnotations, in GetterProperty() argument 314 this.methodAnnotations = methodAnnotations; in GetterProperty() 330 return methodAnnotations; in getMethodAnnotations() 502 ImmutableList<String> methodAnnotations = annotationStrings(methodAnnotationMirrors); in propertySet() local 511 methodAnnotations, in propertySet()
|
D | autovalue.vm | 95 #foreach ($a in ${p.methodAnnotations})
|
/external/TestParameterInjector/src/main/java/com/google/testing/junit/testparameterinjector/ |
D | TestParameterAnnotationMethodProcessor.java | 340 List<AnnotationTypeOrigin> methodAnnotations = in getAnnotationTypeOrigins() local 369 checkDuplicatedFieldsAnnotations(methodAnnotations, fieldAnnotations); in getAnnotationTypeOrigins() 381 methodAnnotations.isEmpty(), in getAnnotationTypeOrigins() 385 methodAnnotations); in getAnnotationTypeOrigins() local 408 methodAnnotations.stream(), in getAnnotationTypeOrigins() 423 List<AnnotationTypeOrigin> methodAnnotations, List<AnnotationTypeOrigin> fieldAnnotations) { in checkDuplicatedFieldsAnnotations() argument 428 Stream.concat(methodAnnotations.stream(), fieldAnnotations.stream().distinct()) in checkDuplicatedFieldsAnnotations()
|
/external/google-smali/third_party/smali/src/main/antlr/ |
D | smaliParser.g | 515 List<CommonTree> methodAnnotations; 519 $statements_and_directives::methodAnnotations = new ArrayList<CommonTree>(); 526 | annotation {$statements_and_directives::methodAnnotations.add($annotation.tree);} 532 {buildTree(I_ANNOTATIONS, "I_ANNOTATIONS", $statements_and_directives::methodAnnotations)}; 780 add them to the $statements_and_directives::methodAnnotations list*/ 788 | /*epsilon*/ {$statements_and_directives::methodAnnotations.addAll(annotations);}
|
/external/google-smali/smali/src/main/antlr/ |
D | smaliParser.g | 515 List<CommonTree> methodAnnotations; 519 $statements_and_directives::methodAnnotations = new ArrayList<CommonTree>(); 526 | annotation {$statements_and_directives::methodAnnotations.add($annotation.tree);} 532 {buildTree(I_ANNOTATIONS, "I_ANNOTATIONS", $statements_and_directives::methodAnnotations)}; 780 add them to the $statements_and_directives::methodAnnotations list*/ 788 | /*epsilon*/ {$statements_and_directives::methodAnnotations.addAll(annotations);}
|
/external/smali/smali/src/main/antlr/ |
D | smaliParser.g | 507 List<CommonTree> methodAnnotations; 511 $statements_and_directives::methodAnnotations = new ArrayList<CommonTree>(); 518 | annotation {$statements_and_directives::methodAnnotations.add($annotation.tree);} 524 {buildTree(I_ANNOTATIONS, "I_ANNOTATIONS", $statements_and_directives::methodAnnotations)}; 771 add them to the $statements_and_directives::methodAnnotations list*/ 779 | /*epsilon*/ {$statements_and_directives::methodAnnotations.addAll(annotations);}
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
D | DexWriter.java | 793 int methodAnnotations = 0; 808 methodAnnotations++; 826 if (fieldAnnotations == 0 && methodAnnotations == 0 && parameterAnnotations == 0) { 847 writer.writeInt(methodAnnotations);
|
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/writer/ |
D | DexWriter.java | 995 int methodAnnotations = 0; 1010 methodAnnotations++; 1028 if (fieldAnnotations == 0 && methodAnnotations == 0 && parameterAnnotations == 0) { 1049 writer.writeInt(methodAnnotations);
|
/external/smali/smalidea/src/main/antlr/ |
D | smalideaParser.g | 933 add them to the $statements_and_directives::methodAnnotations list*/
|
/external/smali/smali/src/main/java/org/jf/smali/ |
D | smaliParser.java | 1602 List<CommonTree> methodAnnotations; field in smaliParser.statements_and_directives_scope 1642 statements_and_directives_stack.peek().methodAnnotations = new ArrayList<CommonTree>(); in statements_and_directives() 1801 …statements_and_directives_stack.peek().methodAnnotations.add((annotation39!=null?((CommonTree)anno… in statements_and_directives() 1874 …ildTree(I_ANNOTATIONS, "I_ANNOTATIONS", statements_and_directives_stack.peek().methodAnnotations)); in statements_and_directives() 8819 statements_and_directives_stack.peek().methodAnnotations.addAll(annotations); in parameter_directive()
|