Home
last modified time | relevance | path

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

/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
DSdkStore.java154 MethodExtraInfo implMethod = new MethodExtraInfo(methodElement); in verifyMethod() local
155 if (!sdkMethod.equals(implMethod) in verifyMethod()
157 if (implMethod.isStatic != sdkMethod.isStatic) { in verifyMethod()
159 + " is " + (implMethod.isStatic ? "static" : "not static") in verifyMethod()
162 if (!implMethod.returnType.equals(sdkMethod.returnType)) { in verifyMethod()
164 (looseSignatures && typeIsOkForLooseSignatures(implMethod, sdkMethod)) in verifyMethod()
165 || (looseSignatures && implMethod.returnType.equals("java.lang.Object[]")) in verifyMethod()
167 || typeIsNumeric(sdkMethod, implMethod)) { in verifyMethod()
171 + " has a return type of " + implMethod.returnType in verifyMethod()
192 private boolean typeIsNumeric(MethodExtraInfo sdkMethod, MethodExtraInfo implMethod) { in typeIsNumeric() argument
[all …]