Searched refs:getReturnType (Results 1 - 25 of 436) sorted by relevance

1234567891011>>

/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
H A DInvocationInfo.java34 if (method.getReturnType().isPrimitive() || clazz.isPrimitive()) {
35 return Primitives.primitiveTypeOf(clazz) == Primitives.primitiveTypeOf(method.getReturnType());
37 return method.getReturnType().isAssignableFrom(clazz);
46 Class<?> returnType = this.method.getReturnType();
51 return method.getReturnType().getSimpleName();
59 return method.getReturnType().isPrimitive();
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/base/reference/
H A DBaseMethodProtoReference.java47 int hashCode = getReturnType().hashCode();
55 return getReturnType().equals(other.getReturnType()) &&
63 int res = getReturnType().compareTo(o.getReturnType());
H A DBaseMethodReference.java48 hashCode = hashCode*31 + getReturnType().hashCode();
58 getReturnType().equals(other.getReturnType()) &&
70 res = getReturnType().compareTo(o.getReturnType());
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
H A DPoolMethodProto.java53 public String getReturnType() { method in class:PoolMethodProto
54 return methodReference.getReturnType();
H A DProtoPool.java55 dexPool.typeSection.intern(reference.getReturnType());
61 return MethodUtil.getShorty(reference.getParameterTypes(), reference.getReturnType());
64 @Nonnull @Override public CharSequence getReturnType(@Nonnull MethodProtoReference protoReference) { method in class:ProtoPool
65 return protoReference.getReturnType();
/external/mockito/src/main/java/org/mockito/internal/invocation/
H A DMockitoMethod.java13 Class<?> getReturnType(); method in interface:MockitoMethod
/external/smali/smalidea/src/test/java/org/jf/smalidea/
H A DMethodReferenceTest.java67 Assert.assertNotNull(resolvedMethod.getReturnType());
68 Assert.assertEquals("long", resolvedMethod.getReturnType().getCanonicalText());
103 Assert.assertNotNull(resolvedMethod.getReturnType());
104 Assert.assertEquals("void", resolvedMethod.getReturnType().getCanonicalText());
135 Assert.assertNotNull(resolvedMethod.getReturnType());
136 Assert.assertEquals("void", resolvedMethod.getReturnType().getCanonicalText());
/external/mockito/src/main/java/org/mockito/internal/creation/
H A DDelegatingMethod.java37 public Class<?> getReturnType() { method in class:DelegatingMethod
38 return method.getReturnType();
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/reference/
H A DMethodProtoReference.java54 @Nonnull String getReturnType(); method in interface:MethodProtoReference
63 * int hashCode = getReturnType().hashCode();
75 * the return values of getReturnType() and getParameterTypes() are all equal.
88 * The comparison is based on the comparison of the return values of getReturnType() and getParameters(),
H A DMethodReference.java68 @Nonnull String getReturnType(); method in interface:MethodReference
79 * hashCode = hashCode*31 + getReturnType().hashCode();
91 * the return values of getDefiningClass(), getName(), getReturnType() and getParameterTypes() are all equal.
105 * getReturnType() and getParameters(), in that order. getParameters() should be compared using the semantics
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
H A DProtoSection.java39 @Nonnull TypeKey getReturnType(@Nonnull ProtoKey key); method in interface:ProtoSection
/external/junit/src/main/java/org/junit/runners/model/
H A DFrameworkMethod.java98 if (method.getReturnType() != Void.TYPE) {
111 public Class<?> getReturnType() { method in class:FrameworkMethod
112 return method.getReturnType();
120 return getReturnType();
176 && ((Class<?>) type).isAssignableFrom(method.getReturnType());
/external/mockito/src/main/java/org/mockito/internal/util/
H A DObjectMethodsGuru.java18 return m.getReturnType() == String.class &&
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/iface/
H A DMethod.java80 @Override @Nonnull String getReturnType(); method in interface:Method
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
H A DBuilderProtoPool.java64 methodProto.getParameterTypes(), methodProto.getReturnType())),
66 dexBuilder.typeSection.internType(methodProto.getReturnType()));
73 methodReference.getParameterTypes(), methodReference.getReturnType()));
80 @Nonnull @Override public BuilderTypeReference getReturnType(@Nonnull BuilderMethodProtoReference proto) { method in class:BuilderProtoPool
/external/testng/src/main/java/org/testng/junit/
H A DJUnit3TestRecognizer.java34 return m.getReturnType().isAssignableFrom(Test.class);
/external/vogar/src/vogar/
H A DClassAnalyzer.java34 Class<?> actualReturnType = candidate.getReturnType();
/external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
H A DForwardsInvocations.java38 if (!compatibleReturnTypes(mockMethod.getReturnType(), delegateMethod.getReturnType())) {
H A DReturnsMocks.java26 return returnValueFor(invocation.getMethod().getReturnType());
/external/mockito/src/test/java/org/mockito/internal/invocation/
H A DSerializableMethodTest.java59 assertEquals(toStringMethod.getReturnType(), method.getReturnType());
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/reference/
H A DImmutableMethodProtoReference.java60 methodProtoReference.getReturnType());
69 public String getReturnType() { method in class:ImmutableMethodProtoReference
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/
H A DMethodReferenceRewriter.java78 @Override @Nonnull public String getReturnType() { method in class:MethodReferenceRewriter.RewrittenMethodReference
79 return rewriters.getTypeRewriter().rewrite(methodReference.getReturnType());
/external/llvm/lib/Analysis/
H A DTargetLibraryInfo.cpp504 FTy.getReturnType()->isIntegerTy());
508 return (NumParams == 2 && FTy.getReturnType()->isPointerTy() &&
509 FTy.getParamType(0) == FTy.getReturnType() &&
523 return (NumParams == 2 && FTy.getReturnType()->isPointerTy() &&
524 FTy.getParamType(0) == FTy.getReturnType() &&
525 FTy.getParamType(1) == FTy.getReturnType());
528 return (NumParams == 3 && FTy.getReturnType()->isPointerTy() &&
529 FTy.getParamType(0) == FTy.getReturnType() &&
530 FTy.getParamType(1) == FTy.getReturnType() &&
541 return (NumParams == 2 && FTy.getReturnType()
[all...]
/external/jacoco/org.jacoco.examples.test/src/org/jacoco/examples/
H A DMBeanClientTest.java39 methods.add(String.format("%s %s(%s)", m.getReturnType().getName(),
/external/llvm/include/llvm/DebugInfo/PDB/
H A DPDBSymbolTypeFunctionSig.h28 std::unique_ptr<PDBSymbol> getReturnType() const;

Completed in 811 milliseconds

1234567891011>>