• Home
  • Raw
  • Download

Lines Matching refs:UnreflectTester

397   static class UnreflectTester {  class in Main
404 private UnreflectTester(String val) { in UnreflectTester() method in Main.UnreflectTester
411 public UnreflectTester(String val, boolean unused) { in UnreflectTester() method in Main.UnreflectTester
437 UnreflectTester instance = new UnreflectTester("unused"); in testUnreflects()
438 Method publicMethod = UnreflectTester.class.getMethod("publicMethod"); in testUnreflects()
444 Method publicStaticMethod = UnreflectTester.class.getMethod("publicStaticMethod"); in testUnreflects()
449 Method privateMethod = UnreflectTester.class.getDeclaredMethod("privateMethod"); in testUnreflects()
460 Method privateStaticMethod = UnreflectTester.class.getDeclaredMethod("privateStaticMethod"); in testUnreflects()
471 Constructor privateConstructor = UnreflectTester.class.getDeclaredConstructor(String.class); in testUnreflects()
479 instance = (UnreflectTester) mh.invokeExact("abc"); in testUnreflects()
481 instance = (UnreflectTester) mh.invoke("def"); in testUnreflects()
483 Constructor publicConstructor = UnreflectTester.class.getConstructor(String.class, in testUnreflects()
486 instance = (UnreflectTester) mh.invokeExact("abc", false); in testUnreflects()
488 instance = (UnreflectTester) mh.invoke("def", true); in testUnreflects()
494 Field publicField = UnreflectTester.class.getField("publicField"); in testUnreflects()
496 instance = new UnreflectTester("instanceValue"); in testUnreflects()
500 instance = new UnreflectTester("instanceValue"); in testUnreflects()
504 Field publicStaticField = UnreflectTester.class.getField("publicStaticField"); in testUnreflects()
506 UnreflectTester.publicStaticField = "updatedStaticValue"; in testUnreflects()
510 UnreflectTester.publicStaticField = "updatedStaticValue"; in testUnreflects()
512 assertEquals("updatedStaticValue2", UnreflectTester.publicStaticField); in testUnreflects()
514 Field privateField = UnreflectTester.class.getDeclaredField("privateField"); in testUnreflects()
529 instance = new UnreflectTester("instanceValue"); in testUnreflects()
533 instance = new UnreflectTester("instanceValue"); in testUnreflects()
537 Field privateStaticField = UnreflectTester.class.getDeclaredField("privateStaticField"); in testUnreflects()
1659 UnreflectTester.class, "publicMethod", type); in testRevealDirect()
1663 Method meth = UnreflectTester.class.getMethod("publicMethod"); in testRevealDirect()
1667 assertTrue(UnreflectTester.class == info.getDeclaringClass()); in testRevealDirect()
1681 handle = MethodHandles.lookup().findStatic(UnreflectTester.class, in testRevealDirect()
1686 meth = UnreflectTester.class.getMethod("publicStaticMethod"); in testRevealDirect()
1689 assertTrue(UnreflectTester.class == info.getDeclaringClass()); in testRevealDirect()
1696 handle = MethodHandles.lookup().findVirtual(UnreflectTester.class, in testRevealDirect()
1700 meth = UnreflectTester.class.getMethod("publicVarArgsMethod", String[].class); in testRevealDirect()
1703 assertTrue(UnreflectTester.class == info.getDeclaringClass()); in testRevealDirect()
1709 Constructor cons = UnreflectTester.class.getConstructor(String.class, boolean.class); in testRevealDirect()
1711 handle = MethodHandles.lookup().findConstructor(UnreflectTester.class, type); in testRevealDirect()
1716 assertTrue(UnreflectTester.class == info.getDeclaringClass()); in testRevealDirect()
1722 Field field = UnreflectTester.class.getField("publicStaticField"); in testRevealDirect()
1725 UnreflectTester.class, "publicStaticField", String.class); in testRevealDirect()
1730 assertTrue(UnreflectTester.class == info.getDeclaringClass()); in testRevealDirect()
1738 UnreflectTester.class, "publicStaticField", String.class); in testRevealDirect()
1745 field = UnreflectTester.class.getField("publicField"); in testRevealDirect()
1748 UnreflectTester.class, "publicField", String.class); in testRevealDirect()
1753 assertTrue(UnreflectTester.class == info.getDeclaringClass()); in testRevealDirect()
1761 UnreflectTester.class, "publicField", String.class); in testRevealDirect()