Home
last modified time | relevance | path

Searched refs:exceptionTypes (Results 1 – 11 of 11) 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.java51 private final List<TypeLiteral<?>> exceptionTypes; field in CheckedProviderMethod
62 List<TypeLiteral<?>> exceptionTypes, in CheckedProviderMethod() argument
72 this.exceptionTypes = exceptionTypes; in CheckedProviderMethod()
101 binder, exceptionTypes, sbinder.getExceptionTypes(), checkedProvider); in configure()
DThrowingProviderBinder.java138 private final List<Class<? extends Throwable>> exceptionTypes; field in ThrowingProviderBinder.SecondaryBinder
150 this.exceptionTypes = getExceptionType(interfaceType); in SecondaryBinder()
154 this.exceptionTypes = ImmutableList.of(); in SecondaryBinder()
159 return exceptionTypes; in getExceptionTypes()
221 binder, cxtorLiteral.getExceptionTypes(cxtor), exceptionTypes, interfaceType); in providing()
354 for (Class<? extends Throwable> exceptionType : exceptionTypes) { in createResultProvider()
DCheckedProviders.java219 List<Class<? extends Throwable>> exceptionTypes = in checkThrowable() local
222 if (exceptionTypes.size() == 0) { in checkThrowable()
227 for (Class<? extends Throwable> exceptionType : exceptionTypes) { in checkThrowable()
DCheckedProviderMethodsModule.java115 List<TypeLiteral<?>> exceptionTypes = typeLiteral.getExceptionTypes(method); in createProviderMethod() local
133 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/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-core/generated-sources/javacc/com/github/javaparser/
DGeneratedJavaParser.java4699 NodeList<ReferenceType> exceptionTypes = emptyList(); in TryStatement() local
4735 exceptionTypes.add(exceptionType); in TryStatement()
4749 exceptionTypes.add(exceptionType); in TryStatement()
4755 if (exceptionTypes.size() > 1) { in TryStatement()
4756 …type = new UnionType(range(exceptionTypes.get(0), exceptionTypes.get(exceptionTypes.size() - 1)), in TryStatement()
4758 type = (Type)exceptionTypes.get(0); in TryStatement()
4762 exceptionTypes = emptyList(); in TryStatement()
/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()