Home
last modified time | relevance | path

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

/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
DSdkStore.java149 MethodExtraInfo sdkMethod = classInfo.findMethod(methodElement, looseSignatures); in verifyMethod() local
150 if (sdkMethod == null) { in verifyMethod()
155 if (!sdkMethod.equals(implMethod) in verifyMethod()
157 if (implMethod.isStatic != sdkMethod.isStatic) { in verifyMethod()
162 if (!implMethod.returnType.equals(sdkMethod.returnType)) { in verifyMethod()
164 (looseSignatures && typeIsOkForLooseSignatures(implMethod, sdkMethod)) in verifyMethod()
167 || typeIsNumeric(sdkMethod, implMethod)) { in verifyMethod()
172 + ", not " + sdkMethod.returnType + " as in the SDK method"; in verifyMethod()
192 private boolean typeIsNumeric(MethodExtraInfo sdkMethod, MethodExtraInfo implMethod) { in typeIsNumeric() argument
194 && isNumericType(sdkMethod.returnType); in typeIsNumeric()
[all …]