HomeSort by relevance Sort by last modified time
    Searched defs:returnType (Results 1 - 25 of 839) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/guava/guava-testlib/test/com/google/common/collect/testing/features/
FeatureEnumTest.java 61 final Class<?> returnType = method.getReturnType();
64 returnType.isArray());
67 annotationClass.getDeclaringClass(), returnType.getComponentType());
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
MethodWriter.java 33 private final TypeName returnType;
39 MethodWriter(TypeName returnType, String name) {
40 this.returnType = returnType;
51 public TypeName returnType() {
52 return returnType;
97 returnType.write(appendable, context);
115 .append(returnType)
  /external/mockito/src/main/java/org/mockito/internal/handler/
NullResultGuardian.java 33 Class<?> returnType = invocation.getMethod().getReturnType();
34 if(result == null && returnType.isPrimitive()) {
36 return defaultValue(returnType);
  /external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
ReturnsEmptyValues.java 74 Class<?> returnType = invocation.getMethod().getReturnType();
75 return returnValueFor(returnType);
ReturnsMoreEmptyValues.java 61 Class<?> returnType = invocation.getMethod().getReturnType();
62 return returnValueFor(returnType);
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/reference/
ImmutableMethodProtoReference.java 46 @Nonnull protected final String returnType;
49 @Nonnull String returnType) {
51 this.returnType = returnType;
70 return returnType;
ImmutableMethodReference.java 47 @Nonnull protected final String returnType;
52 @Nonnull String returnType) {
56 this.returnType = returnType;
62 @Nonnull String returnType) {
66 this.returnType = returnType;
84 @Nonnull @Override public String getReturnType() { return returnType; }
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
BuilderMethodProtoReference.java 49 @Nonnull final BuilderTypeReference returnType;
53 @Nonnull BuilderTypeReference returnType) {
56 this.returnType = returnType;
64 return returnType.getType();
  /external/desugar/java/com/google/devtools/common/options/
GenericTypeHelper.java 83 Type returnType = method.getGenericReturnType();
84 if (returnType instanceof Class<?>) {
85 return returnType;
86 } else if (returnType instanceof ParameterizedType) {
87 return returnType;
88 } else if (returnType instanceof TypeVariable<?>) {
89 TypeVariable<?> variable = (TypeVariable<?>) returnType;
107 throw new AssertionError("The type " + returnType
  /external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
InvocationInfo.java 46 Class<?> returnType = this.method.getReturnType();
47 return returnType == Void.TYPE|| returnType == Void.class;
Returns.java 40 if (!returnsNull() && !invocationInfo.isValidReturnType(returnType())) {
49 private Class<?> returnType() {
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
OptionalMethod.java 32 private final Class<?> returnType;
41 * @param returnType the return type to required, null if it does not matter
45 public OptionalMethod(Class<?> returnType, String methodName, Class... methodParams) {
46 this.returnType = returnType;
153 && returnType != null
154 && !returnType.isAssignableFrom(method.getReturnType())) {
  /external/smali/smalidea/src/main/java/org/jf/smalidea/psi/stub/element/
SmaliMethodPrototypeElementType.java 67 SmaliTypeElement returnType = psi.getReturnTypeElement();
69 if (returnType != null) {
70 returnSmaliTypeName = returnType.getSmaliName();
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/
ProvidesMethodValidator.java 98 TypeMirror returnType = providesMethodElement.getReturnType();
99 TypeKind returnTypeKind = returnType.getKind();
117 validateKeyType(builder, returnType);
120 validateKeyType(builder, returnType);
139 DeclaredType declaredReturnType = (DeclaredType) returnType;
  /external/dexmaker/dexmaker/src/main/java/com/android/dx/
MethodId.java 33 final TypeId<R> returnType;
41 MethodId(TypeId<D> declaringType, TypeId<R> returnType, String name, TypeList parameters) {
42 if (declaringType == null || returnType == null || name == null || parameters == null) {
46 this.returnType = returnType;
58 return returnType;
92 result.append(returnType.name);
106 && ((MethodId<?, ?>) o).returnType.equals(returnType);
115 result = 31 * result + returnType.hashCode()
    [all...]
  /external/doclava/src/com/google/doclava/
AndroidLinter.java 112 lintVariable(method.position(), "Return value of '" + method.name() + "'", method.returnType(),
  /external/mockito/src/main/java/org/mockito/internal/invocation/
SerializableMethod.java 21 private final Class<?> returnType;
33 returnType = method.getReturnType();
44 return returnType;
109 if (returnType == null) {
110 if (other.returnType != null)
112 } else if (!returnType.equals(other.returnType))
  /external/proguard/src/proguard/
FullyQualifiedClassNameChecker.java 124 checkType(internalTypeEnumeration.returnType());
  /external/proguard/src/proguard/classfile/util/
InternalTypeEnumeration.java 121 public String returnType()
204 System.out.println(" Return type ["+enumeration.returnType()+"]");
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/
AndroidTranslator.java 289 Type returnType = Type.find(returnCtClass);
302 // if (declareField(ctClass, fieldName, returnType)) {
309 String methodBody = generateMethodBody(ctClass, ctMethod, wasNative, wasAbstract, returnCtClass, returnType, isStatic, !wasFoundInClass);
357 private String generateMethodBody(CtClass ctClass, CtMethod ctMethod, boolean wasNative, boolean wasAbstract, CtClass returnCtClass, Type returnType, boolean aStatic, boolean shouldGenerateCallToSuper) throws NotFoundException {
360 methodBody = returnType.isVoid() ? "" : "return " + returnType.defaultReturnString() + ";";
362 methodBody = generateMethodBody(ctClass, ctMethod, returnCtClass, returnType, aStatic, shouldGenerateCallToSuper);
366 methodBody += returnType.isVoid() ? "" : "return " + returnType.defaultReturnString() + ";";
371 public String generateMethodBody(CtClass ctClass, CtMethod ctMethod, CtClass returnCtClass, Type returnType, boolean isStatic, boolean shouldGenerateCallToSuper) throws NotFoundException
    [all...]
  /external/slf4j/slf4j-ext/src/main/java/org/slf4j/instrumentation/
JavassistHelper.java 75 CtClass returnType = ((CtMethod) method).getReturnType();
76 String returnTypeName = returnType.getName();
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
ImmutableMethod.java 54 @Nonnull protected final String returnType;
62 @Nonnull String returnType,
69 this.returnType = returnType;
78 @Nonnull String returnType,
85 this.returnType = returnType;
109 @Override @Nonnull public String getReturnType() { return returnType; }
  /frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
TransformClassAdapter.java 97 String returnType = t.getInternalName();
98 if (returnType != null) {
99 if (mDeleteReturns.contains(returnType)) {
129 return new StubMethodAdapter(mw, name, returnType(desc), invokeSignature,
141 Type returnType(String desc) {
  /libcore/ojluni/src/lambda/java/java/lang/invoke/
MethodType.java 91 public Class<?> returnType() { return null; }
  /dalvik/dexgen/src/com/android/dexgen/rop/type/
Prototype.java 35 private final Type returnType;
96 Type returnType = Type.internReturnType(descriptor.substring(at));
103 result = new Prototype(descriptor, returnType, parameterTypes);
183 * @param returnType {@code non-null;} the return type
187 public static Prototype internInts(Type returnType, int count) {
199 sb.append(returnType.getDescriptor());
211 private Prototype(String descriptor, Type returnType,
217 if (returnType == null) {
218 throw new NullPointerException("returnType == null");
226 this.returnType = returnType
    [all...]

Completed in 741 milliseconds

1 2 3 4 5 6 7 8 91011>>