Searched refs:methodAnnotations (Results 1 – 8 of 8) sorted by relevance
/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/dagger2/java/dagger/internal/codegen/ |
D | AnyBindingMethodValidator.java | 48 ImmutableSet<Class<? extends Annotation>> methodAnnotations() { in methodAnnotations() method in AnyBindingMethodValidator 57 return isAnyAnnotationPresent(method, methodAnnotations()); in isBindingMethod() 88 methodAnnotations() in validateUncached() 107 methodAnnotations().stream().map(Class::getCanonicalName).collect(joining(", "))), in validateUncached()
|
D | ComponentDescriptorValidator.java | 260 String methodAnnotations; in abstractModuleHasInstanceBindingMethodsError() local 263 methodAnnotations = "@Provides"; in abstractModuleHasInstanceBindingMethodsError() 266 methodAnnotations = "@Provides or @Produces"; in abstractModuleHasInstanceBindingMethodsError() 274 module.moduleElement(), methodAnnotations); in abstractModuleHasInstanceBindingMethodsError()
|
D | BindingMethodProcessingStep.java | 45 return anyBindingMethodValidator.methodAnnotations(); in 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/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()
|