Home
last modified time | relevance | path

Searched refs:getExceptionTypes (Results 1 – 25 of 45) 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.java88 return this.constructor.getExceptionTypes().length; in getNumberOfSpecifiedExceptions()
96 … return ReflectionFactory.typeUsageFor(this.constructor.getExceptionTypes()[index], typeSolver); in getSpecifiedException()
DReflectionMethodDeclaration.java145 return this.method.getExceptionTypes().length; in getNumberOfSpecifiedExceptions()
153 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.java134 return ctConstructor.getExceptionTypes().length; in getNumberOfSpecifiedExceptions()
147 … return JavassistFactory.typeUsageFor(ctConstructor.getExceptionTypes()[index], typeSolver); in getSpecifiedException()
DJavassistMethodDeclaration.java178 return ctMethod.getExceptionTypes().length; in getNumberOfSpecifiedExceptions()
191 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/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.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/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()
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DExceptionAnalyzer.h98 const Throwables &getExceptionTypes() const { return ThrownExceptions; } in getExceptionTypes() function
DExceptionAnalyzer.cpp167 Catch->getHandlerBlock(), Uncaught.getExceptionTypes(), CallStack); in throwsException()
/external/javassist/src/main/javassist/
DCtNewClass.java102 c.getExceptionTypes(), this); in inheritAllConstructors()
/external/guava/android/guava-tests/test/com/google/common/reflect/
DInvokableTest.java71 Prepender.constructor(String.class, int.class).getExceptionTypes()); in testConstructor_exceptionTypes()
125 assertEquals(ImmutableList.of(), delegate.getExceptionTypes()); in testStaticMethod_exceptionTypes()
195 delegate.getExceptionTypes()); in testInstanceMethod_exceptionTypes()
/external/guava/guava-tests/test/com/google/common/reflect/
DInvokableTest.java71 Prepender.constructor(String.class, int.class).getExceptionTypes()); in testConstructor_exceptionTypes()
125 assertEquals(ImmutableList.of(), delegate.getExceptionTypes()); in testStaticMethod_exceptionTypes()
195 delegate.getExceptionTypes()); in testInstanceMethod_exceptionTypes()
/external/javassist/src/test/test3/
DEnhancer.java120 m.getExceptionTypes(), in makeMethod()
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/
DJavaSourceWriter.java182 for (Class exception : method.getExceptionTypes()) { in startMethod()
/external/javassist/src/test/testproxy/
DProxyTester.java164 assertEquals(0, m1.getExceptionTypes().length); in testConstructor()
165 assertEquals("java.io.IOException", m2.getExceptionTypes()[0].getName()); in testConstructor()

12