Home
last modified time | relevance | path

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

/dalvik/libcore/luni-kernel/src/main/java/java/lang/reflect/
DConstructor.java59 Class<?>[] exceptionTypes; field in Constructor
74 genericExceptionTypes = parser.exceptionTypes; in initGenericTypes()
104 this.exceptionTypes = extypes; // may be null in Constructor()
315 if (exceptionTypes == null) in getExceptionTypes()
317 return exceptionTypes; in getExceptionTypes()
484 if (exceptionTypes != null && exceptionTypes.length != 0) { in toString()
486 result.append(toString(exceptionTypes)); in toString()
DMethod.java60 private Class<?>[] exceptionTypes; field in Method
78 genericExceptionTypes = parser.exceptionTypes; in initGenericTypes()
90 this(orig.declaringClass, orig.parameterTypes, orig.exceptionTypes, in Method()
105 this.exceptionTypes = exceptTypes; // may be null in Method()
382 if (exceptionTypes == null) { in getExceptionTypes()
386 return exceptionTypes; in getExceptionTypes()
566 if (exceptionTypes != null && exceptionTypes.length != 0) { in toString()
568 result.append(toString(exceptionTypes)); in toString()
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/lang/reflect/
DGenericSignatureParser.java69 public ListOfTypes exceptionTypes; field in GenericSignatureParser
156 this.exceptionTypes = new ListOfTypes(m.getExceptionTypes()); in parseForMethod()
161 this.exceptionTypes = ListOfTypes.empty; in parseForMethod()
184 this.exceptionTypes = new ListOfTypes(c.getExceptionTypes()); in parseForConstructor()
188 this.exceptionTypes = ListOfTypes.empty; in parseForConstructor()
405 exceptionTypes = new ListOfTypes(8); in parseMethodTypeSignature()
412 exceptionTypes.add(parseTypeVariableSignature()); in parseMethodTypeSignature()
414 exceptionTypes.add(parseClassTypeSignature()); in parseMethodTypeSignature()
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/reflect/
DGenericTypesTest.java282 Type[] exceptionTypes = declaredMethods.getGenericExceptionTypes(); in testException() local
283 assertLenghtOne(exceptionTypes); in testException()
284 assertEquals(typeVariable, exceptionTypes[0]); in testException()
285 assertInstanceOf(TypeVariable.class, exceptionTypes[0]); in testException()
286 TypeVariable<?> methodTypeVariable = (TypeVariable<?>) exceptionTypes[0]; in testException()