Lines Matching refs:correct
89 static void test(boolean correct, MethodHandle mh, MethodType instMT, MethodType samMT) { in test() argument
90 tryMetafactory(correct, mh, new Class<?>[]{}, instMT, samMT); in test()
91 tryAltMetafactory(correct, mh, new Class<?>[]{}, instMT, samMT); in test()
94 …static void testBridge(boolean correct, MethodHandle mh, MethodType instMT, MethodType samMT, Meth… in testBridge() argument
95 tryAltMetafactory(correct, mh, new Class<?>[]{}, instMT, samMT, bridgeMTs); in testBridge()
98 …static void testCapture(boolean correct, MethodHandle mh, Class<?>[] captured, MethodType instMT, … in testCapture() argument
99 tryMetafactory(correct, mh, captured, instMT, samMT); in testCapture()
100 tryAltMetafactory(correct, mh, captured, instMT, samMT); in testCapture()
103 static void testCaptureBridge(boolean correct, MethodHandle mh, Class<?>[] captured, in testCaptureBridge() argument
105 tryAltMetafactory(correct, mh, captured, instMT, samMT, bridgeMTs); in testCaptureBridge()
108 static void tryMetafactory(boolean correct, MethodHandle mh, Class<?>[] captured, in tryMetafactory() argument
113 if (!correct) { in tryMetafactory()
122 if (correct) { in tryMetafactory()
133 static void tryAltMetafactory(boolean correct, MethodHandle mh, Class<?>[] captured, in tryAltMetafactory() argument
147 if (!correct) { in tryAltMetafactory()
157 if (correct) { in tryAltMetafactory()