Home
last modified time | relevance | path

Searched refs:getExceptionTypes (Results 1 – 25 of 33) 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.java154 assertEquals(NullPointerException.class, type.getExceptionTypes(newThrower).get(0).getType()); in testThrowsExceptions()
155 assertEquals(NullPointerException.class, type.getExceptionTypes(throwS).get(0).getType()); in testThrowsExceptions()
204 resolver.getExceptionTypes(stringIndexOf); in testUnsupportedQueries()
232 resolver.getExceptionTypes(newString); in testUnsupportedQueries()
/external/javassist/sample/evolve/
DEvolution.java136 .getParameterTypes(), c.getExceptionTypes(), in makeAbstractClass()
154 .getExceptionTypes(), absClass); in makeAbstractClass()
/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/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DThrowingProviderBinder.java163 List<Class<? extends Throwable>> getExceptionTypes() { in getExceptionTypes() method in ThrowingProviderBinder.SecondaryBinder
226 binder, cxtorLiteral.getExceptionTypes(cxtor), exceptionTypes, interfaceType); in providing()
386 TypeLiteral.get(interfaceType).getExceptionTypes(getMethod);
DCheckedProviderMethod.java103 binder, exceptionTypes, sbinder.getExceptionTypes(), checkedProvider); in configure()
DCheckedProviderMethodsModule.java117 List<TypeLiteral<?>> exceptionTypes = typeLiteral.getExceptionTypes(method); in createProviderMethod()
/external/mockito/src/main/java/org/mockito/internal/stubbing/answers/
DInvocationInfo.java22 Class<?>[] exceptions = method.getExceptionTypes(); in isValidException()
/external/javassist/src/main/javassist/
DCtNewClass.java97 c.getExceptionTypes(), this); in inheritAllConstructors()
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DAssistedConstructor.java88 return new HashSet<Class<?>>(Arrays.asList(constructor.getExceptionTypes())); in getDeclaredExceptions()
DFactoryProvider.java230 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.java308 public List<TypeLiteral<?>> getExceptionTypes(Member methodOrConstructor) { in getExceptionTypes() method in TypeLiteral
/external/javassist/src/main/javassist/tools/reflect/
DReflection.java328 m.getParameterTypes(), m.getExceptionTypes(), in processMethods0()
/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()

12