Home
last modified time | relevance | path

Searched refs:methodAnnotations (Results 1 – 8 of 8) sorted by relevance

/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DAnnotationIdTest.java96 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/
DAnyBindingMethodValidator.java48 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()
DComponentDescriptorValidator.java260 String methodAnnotations; in abstractModuleHasInstanceBindingMethodsError() local
263 methodAnnotations = "@Provides"; in abstractModuleHasInstanceBindingMethodsError()
266 methodAnnotations = "@Provides or @Produces"; in abstractModuleHasInstanceBindingMethodsError()
274 module.moduleElement(), methodAnnotations); in abstractModuleHasInstanceBindingMethodsError()
DBindingMethodProcessingStep.java45 return anyBindingMethodValidator.methodAnnotations(); in annotations()
/external/smali/smali/src/main/antlr/
DsmaliParser.g507 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/
DDexWriter.java793 int methodAnnotations = 0;
808 methodAnnotations++;
826 if (fieldAnnotations == 0 && methodAnnotations == 0 && parameterAnnotations == 0) {
847 writer.writeInt(methodAnnotations);
/external/smali/smalidea/src/main/antlr/
DsmalideaParser.g933 add them to the $statements_and_directives::methodAnnotations list*/
/external/smali/smali/src/main/java/org/jf/smali/
DsmaliParser.java1602 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()