Home
last modified time | relevance | path

Searched refs:exceptionTypes (Results 1 – 12 of 12) sorted by relevance

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/
DMethodUsage.java43 private List<ResolvedType> exceptionTypes = new ArrayList<>(); field in MethodUsage
54 exceptionTypes.add(declaration.getSpecifiedException(i)); in MethodUsage()
66 List<ResolvedType> exceptionTypes) { in MethodUsage() argument
67 … this(declaration, paramTypes, returnType, exceptionTypes, ResolvedTypeParametersMap.empty()); in MethodUsage()
71 … List<ResolvedType> exceptionTypes, ResolvedTypeParametersMap typeParametersMap) { in MethodUsage() argument
75 this.exceptionTypes = exceptionTypes; in MethodUsage()
116 … return new MethodUsage(declaration, newParams, returnType, exceptionTypes, typeParametersMap); in replaceParamType()
120 if (i < 0 || i >= exceptionTypes.size()) { in replaceExceptionType()
123 if (exceptionTypes.get(i) == replaced) { in replaceExceptionType()
126 List<ResolvedType> newTypes = new LinkedList<>(exceptionTypes); in replaceExceptionType()
[all …]
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
DMethodType.java24 private List<ResolvedType> exceptionTypes; field in MethodType
28 methodUsage.returnType(), methodUsage.exceptionTypes()); in fromMethodUsage()
33 List<ResolvedType> exceptionTypes) { in MethodType() argument
37 this.exceptionTypes = exceptionTypes; in MethodType()
53 return exceptionTypes; in getExceptionTypes()
/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
DCheckedProviderMethod.java52 private final List<TypeLiteral<?>> exceptionTypes; field in CheckedProviderMethod
63 List<TypeLiteral<?>> exceptionTypes, in CheckedProviderMethod() argument
73 this.exceptionTypes = exceptionTypes; in CheckedProviderMethod()
103 binder, exceptionTypes, sbinder.getExceptionTypes(), checkedProvider); in configure()
DThrowingProviderBinder.java143 private final List<Class<? extends Throwable>> exceptionTypes; field in ThrowingProviderBinder.SecondaryBinder
155 this.exceptionTypes = getExceptionType(interfaceType); in SecondaryBinder()
159 this.exceptionTypes = ImmutableList.of(); in SecondaryBinder()
164 return exceptionTypes; in getExceptionTypes()
226 binder, cxtorLiteral.getExceptionTypes(cxtor), exceptionTypes, interfaceType); in providing()
352 for (Class<? extends Throwable> exceptionType : exceptionTypes) { in createResultProvider()
DCheckedProviderMethodsModule.java117 List<TypeLiteral<?>> exceptionTypes = typeLiteral.getExceptionTypes(method); in createProviderMethod() local
128 parameterProviders, scopeAnnotation, throwingProvider, exceptionTypes, in createProviderMethod()
/external/mockito/src/main/java/org/mockito/internal/invocation/
DSerializableMethod.java23 private final Class<?>[] exceptionTypes; field in SerializableMethod
35 exceptionTypes = method.getExceptionTypes(); in SerializableMethod()
53 return exceptionTypes; in getExceptionTypes()
/external/javassist/src/main/javassist/
DCtNewWrappedConstructor.java27 CtClass[] exceptionTypes, in wrapped() argument
36 cons.setExceptionTypes(exceptionTypes); in wrapped()
DCtNewWrappedMethod.java29 CtClass[] exceptionTypes, in wrapped() argument
38 mt.setExceptionTypes(exceptionTypes); in wrapped()
DCtNewMethod.java462 CtClass[] exceptionTypes,
468 exceptionTypes, body, constParam, declaring);
/external/javaparser/javaparser-core/src/main/javacc/
Djava.jj2413 NodeList<ReferenceType> exceptionTypes = emptyList();
2430 …exceptModifier = Modifiers() exceptionType = ReferenceType(emptyList()) { exceptionTypes.add(excep…
2431 ( "|" exceptionType = AnnotatedReferenceType() { exceptionTypes.add(exceptionType); } )*
2437 if (exceptionTypes.size() > 1) {
2438 …type = new UnionType(range(exceptionTypes.get(0), exceptionTypes.get(exceptionTypes.size() - 1)),
2440 type = (Type)exceptionTypes.get(0);
2444 exceptionTypes = emptyList(); }
/external/clang/lib/AST/
DType.cpp848 SmallVector<QualType, 4> exceptionTypes; in VisitFunctionProtoType() local
858 exceptionTypes.push_back(newExceptionType); in VisitFunctionProtoType()
863 llvm::makeArrayRef(exceptionTypes).copy(Ctx); in VisitFunctionProtoType()
1164 SmallVector<QualType, 4> exceptionTypes; in substObjCTypeArgs() local
1177 exceptionTypes.push_back(newExceptionType); in substObjCTypeArgs()
1182 llvm::makeArrayRef(exceptionTypes).copy(ctx); in substObjCTypeArgs()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/
DASTParser.java4370 List<ReferenceType> exceptionTypes = new LinkedList<ReferenceType>(); in TryStatement() local
4403 exceptionTypes.add(exceptionType); in TryStatement()
4417 exceptionTypes.add(exceptionType); in TryStatement()
4422 if (exceptionTypes.size() > 1) { in TryStatement()
4423 type = new UnionType(exceptionTypes); in TryStatement()
4425 type = (Type)exceptionTypes.get(0); in TryStatement()
4428 exceptionTypes = new LinkedList<ReferenceType>(); in TryStatement()