Searched refs:getClass (Results 1 - 25 of 2541) sorted by relevance

1234567891011>>

/openjdk10/langtools/test/tools/javac/lambda/8024497/
H A DCrashUsingReturningThisRefLambdaFromDefaultMetTest.java36 SuperInterface.super.getClass();
37 this.getClass();
38 CrashUsingReturningThisRefLambdaFromDefaultMetTest.this.getClass();
/openjdk10/langtools/test/tools/javac/8161985/
H A DT8161985b.java4 * @summary Spurious override of Object.getClass leads to NPE
9 public String getClass() { return ""; } method in class:T8161985b
12 this.getClass().getSimpleName();
H A DT8161985a.java4 * @summary Spurious override of Object.getClass leads to NPE
11 t.getClass();
14 public void getClass() { method in class:T8161985
22 return this.getClass().getSimpleName();
/openjdk10/nashorn/test/script/basic/
H A Darrayprotoclass.js31 Array.prototype.getClass = Object.prototype.toString;
32 print(Array.prototype.getClass()); // print [object Array]
/openjdk10/langtools/test/tools/javac/generics/
H A DInstanceOf1.java35 return this.getClass() instanceof Class<?>;
H A DInstanceOf2.java12 return this.getClass() instanceof Class<InstanceOf2>;
H A DInstanceOf3.java12 return this.getClass() instanceof Class<? extends InstanceOf3>;
H A DGetClass2.java27 * @summary the type of x.getClass() is Class<? extends |X|>
36 Class<? extends Class> x = GetClass2.class.getClass();
H A DGetClass.java4 * @summary the type of x.getClass() is no longer Class<? extends X>
12 Class<? extends Class<GetClass>> x = GetClass.class.getClass();
H A DT6507024.java35 T6507024<Z>[] r = results.getClass().cast(null);
/openjdk10/jdk/test/tools/jlink/bindservices/src/m1/p1/
H A DImpl.java28 return this.getClass().getName();
/openjdk10/jdk/test/java/lang/reflect/Assignment/
H A DArrayAssignment.java35 if (!to.getClass().isAssignableFrom(from.getClass()))
/openjdk10/langtools/test/tools/javac/
H A DClassLit.java34 if (t.getClass() != ClassLit.class) throw new Error();
36 if (a.getClass() != int[].class) throw new Error();
H A DT8034044.java44 test(o.getClass());
45 test(En.V.getClass());
46 test(InnStat.o.getClass());
52 test(o.getClass());
/openjdk10/hotspot/test/runtime/jni/ToStringInInterfaceTest/
H A DImplementationOfWithToString.java44 return "toString() from " + getClass().getName();
/openjdk10/jdk/test/java/lang/reflect/Proxy/src/m2/p/two/
H A DBar.java32 return this.getClass().getName();
/openjdk10/jdk/test/java/lang/reflect/Proxy/src/test/jdk/test/internal/foo/
H A DFoo.java29 return this.getClass().getName();
/openjdk10/langtools/test/tools/javac/classfiles/attributes/SourceFile/
H A DAnonymousClassTest.java38 new AnonymousClassTest().test(new Object(){}.getClass(), "AnonymousClassTest.java");
/openjdk10/jdk/test/tools/jlink/bindservices/src/m2/p2/
H A DImpl.java28 return this.getClass().getName();
/openjdk10/hotspot/test/runtime/LoadClass/
H A DShowClassLoader.java38 System.out.println("Classloader for Object[] is " + oa.getClass().getClassLoader());
39 System.out.println("Classloader for SCL[] is " + sa.getClass().getClassLoader() );
41 if (sa.getClass().getClassLoader() == null) {
/openjdk10/jdk/test/java/lang/invoke/8177146/pkg/
H A DA.java27 return this.getClass().getSimpleName();
31 return this.getClass().getSimpleName();
38 return this.getClass().getSimpleName() + sb.toString();
/openjdk10/jdk/test/java/lang/Class/getField/
H A DArrayLength.java39 new String[0].getClass().getField("length");
45 new String[0].getClass().getDeclaredField("length");
51 if (new String[0].getClass().getFields().length != 0) {
56 if (new String[0].getClass().getDeclaredFields().length != 0) {
/openjdk10/langtools/test/tools/javac/sourcePath/
H A DSourcePath.java38 b.getClass();
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.test/src/org/graalvm/compiler/test/
H A DExportingClassLoader.java32 JLModule.fromClass(getClass()).exportAllPackagesTo(JLModule.getUnnamedModuleFor(this));
39 JLModule.fromClass(getClass()).exportAllPackagesTo(JLModule.getUnnamedModuleFor(this));
/openjdk10/jdk/test/java/awt/Focus/FocusTraversalPolicy/
H A DInitialFTP.java44 "Effective policy: " + ftp.getClass());
46 if (!expectedPolicy.equals(ftp.getClass())) {

Completed in 297 milliseconds

1234567891011>>