Home
last modified time | relevance | path

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

123456

/aosp_15_r20/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/
H A 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 …]
/aosp_15_r20/libcore/luni/src/main/java/libcore/reflect/
H A DGenericSignatureParser.java72 public ListOfTypes exceptionTypes; field in GenericSignatureParser
167 Class<?>[] exceptionTypes = m.getExceptionTypes(); in parseForMethod() local
168 if (exceptionTypes.length == 0) { in parseForMethod()
169 this.exceptionTypes = ListOfTypes.EMPTY; in parseForMethod()
171 this.exceptionTypes = new ListOfTypes(exceptionTypes); in parseForMethod()
198 Class<?>[] exceptionTypes = c.getExceptionTypes(); in parseForConstructor() local
199 if (exceptionTypes.length == 0) { in parseForConstructor()
200 this.exceptionTypes = ListOfTypes.EMPTY; in parseForConstructor()
202 this.exceptionTypes = new ListOfTypes(exceptionTypes); in parseForConstructor()
425 exceptionTypes = new ListOfTypes(8); in parseMethodTypeSignature()
[all …]
/aosp_15_r20/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/
H A 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()
/aosp_15_r20/external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
H A 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()
H A 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()
H A 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()
H A DCheckedProviderMethodsModule.java115 List<TypeLiteral<?>> exceptionTypes = typeLiteral.getExceptionTypes(method); in createProviderMethod() local
133 exceptionTypes, in createProviderMethod()
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/3/libcore/ojluni/src/main/java/java/lang/reflect/
DExecutable.java102 Class<?>[] exceptionTypes) { in sharedToString() argument
112 if (exceptionTypes.length > 0) { in sharedToString()
114 separateWithCommas(exceptionTypes, sb); in sharedToString()
700 Class<?>[] exceptionTypes = this.getExceptionTypes(); in getMethodOrConstructorGenericInfoInternal() local
704 parser.parseForMethod(this, signatureAttribute, exceptionTypes); in getMethodOrConstructorGenericInfoInternal()
706 parser.parseForConstructor(this, signatureAttribute, exceptionTypes); in getMethodOrConstructorGenericInfoInternal()
708 return new GenericInfo(parser.exceptionTypes, parser.parameterTypes, in getMethodOrConstructorGenericInfoInternal()
/aosp_15_r20/libcore/ojluni/src/main/java/java/lang/reflect/
H A DExecutable.java102 Class<?>[] exceptionTypes) { in sharedToString() argument
112 if (exceptionTypes.length > 0) { in sharedToString()
114 separateWithCommas(exceptionTypes, sb); in sharedToString()
700 Class<?>[] exceptionTypes = this.getExceptionTypes(); in getMethodOrConstructorGenericInfoInternal() local
704 parser.parseForMethod(this, signatureAttribute, exceptionTypes); in getMethodOrConstructorGenericInfoInternal()
706 parser.parseForConstructor(this, signatureAttribute, exceptionTypes); in getMethodOrConstructorGenericInfoInternal()
708 return new GenericInfo(parser.exceptionTypes, parser.parameterTypes, in getMethodOrConstructorGenericInfoInternal()
H A DProxy.java711 Class<?>[] exceptionTypes = method.getExceptionTypes(); in deduplicateAndGetExceptions() local
714 exceptions.set(i - 1, intersectExceptions(exceptions.get(i - 1), exceptionTypes)); in deduplicateAndGetExceptions()
717 exceptions.add(exceptionTypes); in deduplicateAndGetExceptions()
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/lang/reflect/
DExecutable.java102 Class<?>[] exceptionTypes) { in sharedToString() argument
112 if (exceptionTypes.length > 0) { in sharedToString()
114 separateWithCommas(exceptionTypes, sb); in sharedToString()
700 Class<?>[] exceptionTypes = this.getExceptionTypes(); in getMethodOrConstructorGenericInfoInternal() local
704 parser.parseForMethod(this, signatureAttribute, exceptionTypes); in getMethodOrConstructorGenericInfoInternal()
706 parser.parseForConstructor(this, signatureAttribute, exceptionTypes); in getMethodOrConstructorGenericInfoInternal()
708 return new GenericInfo(parser.exceptionTypes, parser.parameterTypes, in getMethodOrConstructorGenericInfoInternal()
DProxy.java711 Class<?>[] exceptionTypes = method.getExceptionTypes(); in deduplicateAndGetExceptions() local
714 exceptions.set(i - 1, intersectExceptions(exceptions.get(i - 1), exceptionTypes)); in deduplicateAndGetExceptions()
717 exceptions.add(exceptionTypes); in deduplicateAndGetExceptions()
/aosp_15_r20/libcore/luni/src/test/java/libcore/java/lang/reflect/
H A DOldGenericTypesTest.java228 Type[] exceptionTypes = declaredMethods.getGenericExceptionTypes(); in testException() local
229 assertLenghtOne(exceptionTypes); in testException()
230 assertEquals(typeVariable, exceptionTypes[0]); in testException()
231 assertInstanceOf(TypeVariable.class, exceptionTypes[0]); in testException()
232 TypeVariable<?> methodTypeVariable = (TypeVariable<?>) exceptionTypes[0]; in testException()
/aosp_15_r20/external/mockito/src/main/java/org/mockito/internal/invocation/
H A DSerializableMethod.java23 private final Class<?>[] exceptionTypes; field in SerializableMethod
35 exceptionTypes = method.getExceptionTypes(); in SerializableMethod()
53 return exceptionTypes; in getExceptionTypes()
/aosp_15_r20/external/javassist/src/main/javassist/
H A DCtNewWrappedConstructor.java30 CtClass[] exceptionTypes, in wrapped() argument
39 cons.setExceptionTypes(exceptionTypes); in wrapped()
H A DCtNewWrappedMethod.java36 CtClass[] exceptionTypes, in wrapped() argument
45 mt.setExceptionTypes(exceptionTypes); in wrapped()
H A DCtNewMethod.java475 CtClass[] exceptionTypes,
481 exceptionTypes, body, constParam, declaring);
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/4/libcore/ojluni/src/main/java/java/lang/reflect/
DProxy.java711 Class<?>[] exceptionTypes = method.getExceptionTypes(); in deduplicateAndGetExceptions() local
714 exceptions.set(i - 1, intersectExceptions(exceptions.get(i - 1), exceptionTypes)); in deduplicateAndGetExceptions()
717 exceptions.add(exceptionTypes); in deduplicateAndGetExceptions()
/aosp_15_r20/system/sepolicy/tests/
H A Dsepolicy_tests.py279 exceptionTypes = [
289 "dev_type", exceptionTypes)
/aosp_15_r20/external/javaparser/javaparser-core/src/main/javacc/
H A Djava.jj2458 NodeList<ReferenceType> exceptionTypes = emptyList();
2475 …exceptionType = ReferenceType(emptyList()) { exceptionTypes.add(exceptionType); typesBegin = orIfI…
2476 ( "|" exceptionType = AnnotatedReferenceType() { exceptionTypes.add(exceptionType); } )*
2482 if (exceptionTypes.size() > 1) {
2483 …type = new UnionType(range(exceptionTypes.get(0), exceptionTypes.get(exceptionTypes.size() - 1)),
2485 type = (Type)exceptionTypes.get(0);
2489 exceptionTypes = emptyList(); }
/aosp_15_r20/external/kotlinpoet/interop/kotlin-metadata/src/main/kotlin/com/squareup/kotlinpoet/metadata/classinspectors/
H A DReflectiveClassInspector.kt224 return exceptionTypes.orEmpty().mapTo(mutableListOf()) { it.asTypeName() } in <lambda>()
228 return exceptionTypes.orEmpty().mapTo(mutableListOf()) { it.asTypeName() } in <lambda>()
/aosp_15_r20/external/clang/lib/AST/
H A 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()
/aosp_15_r20/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/
H A DExecutable.java56 java.lang.Class<?>[] exceptionTypes) { in sharedToString() argument
/aosp_15_r20/external/sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/engine/ast/
H A DMethodDefinition.java141 public abstract Builder setThrowsExceptions(List<TypeNode> exceptionTypes); in setThrowsExceptions() argument
/aosp_15_r20/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/
H A DGeneratedJavaParser.java4870 NodeList<ReferenceType> exceptionTypes = emptyList(); in TryStatement() local
4906 exceptionTypes.add(exceptionType); typesBegin = orIfInvalid(typesBegin, token()); in TryStatement()
4920 exceptionTypes.add(exceptionType); in TryStatement()
4926 if (exceptionTypes.size() > 1) { in TryStatement()
4927 …type = new UnionType(range(exceptionTypes.get(0), exceptionTypes.get(exceptionTypes.size() - 1)), in TryStatement()
4929 type = (Type)exceptionTypes.get(0); in TryStatement()
4933 exceptionTypes = emptyList(); in TryStatement()

123456