Home
last modified time | relevance | path

Searched refs:getExceptionTypes (Results 1 – 25 of 27) sorted by relevance

12

/external/mockito/src/main/java/org/mockito/internal/creation/
DDelegatingMethod.java23 public Class<?>[] getExceptionTypes() { in getExceptionTypes() method in DelegatingMethod
24 return method.getExceptionTypes(); in getExceptionTypes()
/external/mockito/src/test/java/org/mockito/internal/invocation/
DSerializableMethodTest.java39 assertArrayEquals(toStringMethod.getExceptionTypes(), method.getExceptionTypes()); in shouldBeAbleToRetrieveMethodExceptionTypes()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionConstructorDeclaration.java85 return this.constructor.getExceptionTypes().length; in getNumberOfSpecifiedExceptions()
93 … return ReflectionFactory.typeUsageFor(this.constructor.getExceptionTypes()[index], typeSolver); in getSpecifiedException()
DReflectionMethodDeclaration.java141 return this.method.getExceptionTypes().length; in getNumberOfSpecifiedExceptions()
149 return ReflectionFactory.typeUsageFor(this.method.getExceptionTypes()[index], typeSolver); in getSpecifiedException()
/external/mockito/src/main/java/org/mockito/internal/invocation/
DSerializableMethod.java35 exceptionTypes = method.getExceptionTypes(); in SerializableMethod()
52 public Class<?>[] getExceptionTypes() { in getExceptionTypes() method in SerializableMethod
DMockitoMethod.java17 Class<?>[] getExceptionTypes(); in getExceptionTypes() method
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javassistmodel/
DJavassistConstructorDeclaration.java128 return ctConstructor.getExceptionTypes().length; in getNumberOfSpecifiedExceptions()
141 … return JavassistFactory.typeUsageFor(ctConstructor.getExceptionTypes()[index], typeSolver); in getSpecifiedException()
DJavassistMethodDeclaration.java180 return ctMethod.getExceptionTypes().length; in getNumberOfSpecifiedExceptions()
193 return JavassistFactory.typeUsageFor(ctMethod.getExceptionTypes()[index], typeSolver); in getSpecifiedException()
/external/guice/core/test/com/google/inject/
DTypeLiteralTypeResolutionTest.java160 assertEquals(NullPointerException.class, type.getExceptionTypes(newThrower).get(0).getType()); in testThrowsExceptions()
161 assertEquals(NullPointerException.class, type.getExceptionTypes(throwS).get(0).getType()); in testThrowsExceptions()
215 resolver.getExceptionTypes(stringIndexOf); in testUnsupportedQueries()
250 resolver.getExceptionTypes(newString); in testUnsupportedQueries()
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DThrowingProviderBinder.java158 List<Class<? extends Throwable>> getExceptionTypes() { in getExceptionTypes() method in ThrowingProviderBinder.SecondaryBinder
221 binder, cxtorLiteral.getExceptionTypes(cxtor), exceptionTypes, interfaceType); in providing()
387 TypeLiteral.get(interfaceType).getExceptionTypes(getMethod);
DCheckedProviderMethod.java101 binder, exceptionTypes, sbinder.getExceptionTypes(), checkedProvider); in configure()
DCheckedProviderMethodsModule.java115 List<TypeLiteral<?>> exceptionTypes = typeLiteral.getExceptionTypes(method); in createProviderMethod()
DCheckedProviders.java220 Arrays.asList((Class<? extends Throwable>[]) getMethod.getExceptionTypes()); in checkThrowable()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
DMethodType.java52 public List<ResolvedType> getExceptionTypes() { in getExceptionTypes() method in MethodType
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
DInvocationInfo.java22 Class<?>[] exceptions = method.getExceptionTypes(); in isValidException()
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DAssistedConstructor.java85 return new HashSet<Class<?>>(Arrays.asList(constructor.getExceptionTypes())); in getDeclaredExceptions()
DFactoryProvider.java245 constructorException, entry.getKey().getExceptionTypes())) { in checkDeclaredExceptionsMatch()
/external/guava/guava-tests/test/com/google/common/reflect/
DInvokableTest.java70 Prepender.constructor(String.class, int.class).getExceptionTypes()); in testConstructor_exceptionTypes()
124 assertEquals(ImmutableList.of(), delegate.getExceptionTypes()); in testStaticMethod_exceptionTypes()
195 delegate.getExceptionTypes()); in testInstanceMethod_exceptionTypes()
/external/guava/guava/src/com/google/common/util/concurrent/
DSimpleTimeLimiter.java179 for (Class<?> exType : method.getExceptionTypes()) { in declaresInterruptedEx()
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DJavaSourceWriter.java182 for (Class exception : method.getExceptionTypes()) { in startMethod()
/external/guava/guava/src/com/google/common/reflect/
DInvokable.java129 public final ImmutableList<TypeToken<? extends Throwable>> getExceptionTypes() { in getExceptionTypes() method in Invokable
/external/guice/core/src/com/google/inject/
DTypeLiteral.java298 public List<TypeLiteral<?>> getExceptionTypes(Member methodOrConstructor) { in getExceptionTypes() method in TypeLiteral
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/constraintformulas/
DExpressionCompatibleWithType.java320 …odType.getTypeParameters(), newFormalArgumentTypes, newReturnType, methodType.getExceptionTypes()); in replaceTypeVariablesWithInferenceVariables()
/external/easymock/src/org/easymock/internal/
DRecordState.java357 Class<?>[] exceptions = lastInvocation.getMethod().getExceptionTypes(); in isValidThrowable()
/external/desugar/java/com/google/devtools/build/android/desugar/
DLambdaDesugaring.java126 toInternalNames(bridge.getValue().referenced().getExceptionTypes())); in visitEnd()

12