Home
last modified time | relevance | path

Searched refs:getEnclosingConstructor (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/main/java/libcore/reflect/
DTypeVariableImpl.java88 decl = (GenericDeclaration) m != null ? m : cl.getEnclosingConstructor(); in nextLayer()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DReflectionTest.java486 assertNull(staticAnonymous.getClass().getEnclosingConstructor()); in testStaticFieldAnonymousClass()
494 assertNull(ReflectionTest.class.getEnclosingConstructor()); in testGetEnclosingConstructorOfTopLevelClass()
501 foo.c.getEnclosingConstructor()); in testClassEnclosedByConstructor()
510 assertNull(foo.c.getEnclosingConstructor()); in testClassEnclosedByMethod()
/libcore/benchmarks/src/benchmarks/regression/
DAnnotatedElementBenchmark.java173 anonymousClass.getClass().getEnclosingConstructor(); in timeGetEnclosingConstructor()
/libcore/luni/src/test/java/libcore/java/lang/
DOldClassTest.java402 ptc.clazz.getClass().getEnclosingConstructor()); in test_getEnclosingConstructor()
406 ptc.getLocalClass().getClass().getEnclosingConstructor()); in test_getEnclosingConstructor()
410 ExtendTestClass.class.getEnclosingConstructor()); in test_getEnclosingConstructor()
/libcore/ojluni/annotations/mmodule/java/lang/
DClass.annotated.java100 public java.lang.reflect.Constructor<?> getEnclosingConstructor() { throw new RuntimeException("Stu… in getEnclosingConstructor() method in Class
/libcore/ojluni/annotations/sdk/nullability/java/lang/
DClass.annotated.java99 @libcore.util.Nullable public java.lang.reflect.Constructor<?> getEnclosingConstructor() { throw ne… in getEnclosingConstructor() method in Class
/libcore/ojluni/annotations/hiddenapi/java/lang/
DClass.java159 public java.lang.reflect.Constructor<?> getEnclosingConstructor() { in getEnclosingConstructor() method in Class
/libcore/ojluni/src/main/java/java/lang/
DClass.java1734 public Constructor<?> getEnclosingConstructor() { in getEnclosingConstructor() method in Class
1997 return (getEnclosingMethod() != null || getEnclosingConstructor() != null) in isLocalClass()
/libcore/api/
Dcurrent.txt3103 method @Nullable public java.lang.reflect.Constructor<?> getEnclosingConstructor();