Searched refs:MethodKind (Results 1 - 24 of 24) sorted by relevance

/openjdk9/langtools/test/tools/javac/api/
H A DTestJavacTask_Lock.java42 enum MethodKind { enum in class:TestJavacTask_Lock
72 for (MethodKind first: MethodKind.values()) {
73 for (MethodKind second: MethodKind.values()) {
85 void test(MethodKind first, MethodKind second) {
/openjdk9/langtools/test/tools/javac/lambda/intersection/
H A DIntersectionTargetTypeTest.java54 enum MethodKind { enum in class:IntersectionTargetTypeTest
63 MethodKind(boolean isAbstract) { method in class:IntersectionTargetTypeTest.MethodKind
69 A("interface A { }\n", "A", BoundKind.INTF, MethodKind.NONE),
70 B("interface B { default void m() { } }\n", "B", BoundKind.INTF, MethodKind.DEFAULT_M),
71 C("interface C { void m(); }\n", "C", BoundKind.INTF, MethodKind.ABSTRACT_M),
72 D("interface D extends B { }\n", "D", BoundKind.INTF, MethodKind.DEFAULT_M),
73 E("interface E extends C { }\n", "E", BoundKind.INTF, MethodKind.ABSTRACT_M),
74 F("interface F extends C { void g(); }\n", "F", BoundKind.INTF, MethodKind.ABSTRACT_G, MethodKind.ABSTRACT_M),
75 G("interface G extends B { void g(); }\n", "G", BoundKind.INTF, MethodKind
[all...]
/openjdk9/langtools/test/tools/javac/defaultMethods/static/hiding/
H A DInterfaceMethodHidingTest.java82 enum MethodKind implements ComboParameter { enum in class:InterfaceMethodHidingTest
89 MethodKind(String methTemplate) { method in class:InterfaceMethodHidingTest.MethodKind
97 static boolean overrides(MethodKind mk1, SignatureKind sk1, MethodKind mk2, SignatureKind sk2) {
119 boolean allowed(MethodKind mk) {
121 mk != MethodKind.STATIC;
134 .withArrayDimension("MET", (x, meth, idx) -> x.methodKinds[idx] = meth, 3, MethodKind.values())
138 MethodKind[] methodKinds = new MethodKind[3];
182 !MethodKind
[all...]
/openjdk9/langtools/test/tools/javac/lambda/
H A DFunctionalInterfaceConversionTest.java142 enum MethodKind implements ComboParameter { enum in class:FunctionalInterfaceConversionTest
149 MethodKind(String methodTemplate) { method in class:FunctionalInterfaceConversionTest.MethodKind
164 .withDimension("METH1", (x, meth) -> x.samMeth = meth, MethodKind.values())
165 .withDimension("METH2", (x, meth) -> x.clientMeth = meth, MethodKind.values())
176 MethodKind samMeth;
177 MethodKind clientMeth;
215 } else if (samMeth == MethodKind.NONE) {
219 samMeth != MethodKind.NON_GENERIC) {
223 clientMeth == MethodKind.NONE) {
/openjdk9/hotspot/src/share/vm/interpreter/
H A DcppInterpreterGenerator.hpp44 address generate_method_entry(AbstractInterpreter::MethodKind kind);
48 address generate_math_entry(AbstractInterpreter::MethodKind kind);
H A DabstractInterpreter.hpp58 enum MethodKind { enum in class:AbstractInterpreter
96 static vmIntrinsics::ID method_handle_intrinsic(MethodKind kind) {
133 static MethodKind method_kind(methodHandle m);
134 static address entry_for_kind(MethodKind k) { assert(0 <= k && k < number_of_method_entries, "illegal kind"); return _entry_table[k]; }
138 MethodKind k = method_kind(m);
144 static void update_cds_entry_table(MethodKind kind) NOT_CDS_RETURN;
146 static address get_trampoline_code_buffer(AbstractInterpreter::MethodKind kind) NOT_CDS_RETURN_(0);
149 static void set_entry_for_kind(MethodKind k, address e);
151 static void print_method_kind(MethodKind kind) PRODUCT_RETURN;
H A DtemplateInterpreterGenerator.hpp88 address generate_method_entry(AbstractInterpreter::MethodKind kind);
93 address generate_math_entry(AbstractInterpreter::MethodKind kind);
96 address generate_CRC32_updateBytes_entry(AbstractInterpreter::MethodKind kind);
97 address generate_CRC32C_updateBytes_entry(AbstractInterpreter::MethodKind kind);
119 void generate_transcendental_entry(AbstractInterpreter::MethodKind kind, int fpargs);
H A DabstractInterpreter.cpp112 AbstractInterpreter::MethodKind AbstractInterpreter::method_kind(methodHandle m) {
120 MethodKind kind = (MethodKind)( method_handle_invoke_FIRST +
204 address AbstractInterpreter::get_trampoline_code_buffer(AbstractInterpreter::MethodKind kind) {
212 void AbstractInterpreter::update_cds_entry_table(AbstractInterpreter::MethodKind kind) {
229 void AbstractInterpreter::set_entry_for_kind(AbstractInterpreter::MethodKind kind, address entry) {
260 void AbstractInterpreter::print_method_kind(MethodKind kind) {
441 MethodKind kind = (MethodKind) i;
H A DcppInterpreterGenerator.cpp77 AbstractInterpreter::MethodKind kind) {
H A DtemplateInterpreterGenerator.cpp411 AbstractInterpreter::MethodKind kind) {
/openjdk9/jdk/test/java/lang/reflect/DefaultMethodMembers/
H A DFilterNotMostSpecific.java104 if (expected.kind() == MethodKind.ABSTRACT)
106 else if (expected.kind() == MethodKind.CONCRETE)
108 else if (expected.kind() == MethodKind.DEFAULT)
149 MethodKind kind() default MethodKind.ABSTRACT;
161 public static enum MethodKind { enum in class:FilterNotMostSpecific
224 kind=MethodKind.DEFAULT, isGetMethodReturn=true)
228 kind=MethodKind.DEFAULT, isGetMethodReturn=true)
236 kind=MethodKind.DEFAULT, isGetMethodReturn=true)
240 kind=MethodKind
[all...]
/openjdk9/langtools/test/tools/javac/varargs/warning/
H A DWarn5.java115 enum MethodKind implements ComboParameter { enum in class:Warn5
121 MethodKind(String name) { method in class:Warn5.MethodKind
209 .withDimension("NAME", (x, name) -> x.methKind = name, MethodKind.values())
220 MethodKind methKind;
225 return (methKind != MethodKind.CONSTRUCTOR || modKind == ModifierKind.NONE);
269 (methKind == MethodKind.CONSTRUCTOR ||
270 (methKind == MethodKind.METHOD &&
289 methKind == MethodKind.METHOD))) {
299 methKind == MethodKind.CONSTRUCTOR) &&
/openjdk9/langtools/test/tools/javac/defaultMethods/syntax/
H A DTestDefaultMethodsSyntax.java89 static boolean compatible(MethodKind mk, ModifierKind mod1, ModifierKind mod2, EnclosingKind ek) {
91 return mk == MethodKind.NO_BODY;
94 return mk == MethodKind.BODY;
97 mk == MethodKind.NO_BODY : mk == MethodKind.BODY;
167 enum MethodKind { enum in class:TestDefaultMethodsSyntax
173 private MethodKind(String methStr) { method in class:TestDefaultMethodsSyntax.MethodKind
197 for (MethodKind mk : MethodKind.values()) {
212 MethodKind m
[all...]
/openjdk9/hotspot/src/cpu/zero/vm/
H A DcppInterpreterGenerator_zero.cpp41 AbstractInterpreter::MethodKind kind) {
/openjdk9/langtools/test/tools/javac/lambda/bytecode/
H A DTestLambdaBytecode.java127 static class MethodKind { class in class:TestLambdaBytecode
133 MethodKind(ClassKind ck, AccessKind ak, StaticKind sk, DefaultKind dk) { method in class:TestLambdaBytecode.MethodKind
181 MethodKind mk1, mk2;
184 mk1 = new MethodKind(ck, accessKinds[0], staticKinds[0], defaultKinds[0]);
185 mk2 = new MethodKind(ck, accessKinds[1], staticKinds[1], defaultKinds[1]);
/openjdk9/langtools/test/tools/javac/6889255/
H A DT6889255.java86 enum MethodKind { enum in class:T6889255
252 for (MethodKind methodKind: MethodKind.values()) {
290 if (methodKind == MethodKind.ABSTRACT)
295 if (methodKind == MethodKind.ABSTRACT || methodClassKind == ClassKind.INTERFACE)
/openjdk9/hotspot/src/cpu/x86/vm/
H A DtemplateInterpreterGenerator_x86_64.cpp235 address TemplateInterpreterGenerator::generate_CRC32_updateBytes_entry(AbstractInterpreter::MethodKind kind) {
296 address TemplateInterpreterGenerator::generate_CRC32C_updateBytes_entry(AbstractInterpreter::MethodKind kind) {
346 address TemplateInterpreterGenerator::generate_math_entry(AbstractInterpreter::MethodKind kind) {
H A DtemplateInterpreterGenerator_x86_32.cpp105 address TemplateInterpreterGenerator::generate_CRC32_updateBytes_entry(AbstractInterpreter::MethodKind kind) {
171 address TemplateInterpreterGenerator::generate_CRC32C_updateBytes_entry(AbstractInterpreter::MethodKind kind) {
319 address TemplateInterpreterGenerator::generate_math_entry(AbstractInterpreter::MethodKind kind) {
/openjdk9/hotspot/src/cpu/sparc/vm/
H A DtemplateInterpreterGenerator_sparc.cpp1036 address TemplateInterpreterGenerator::generate_CRC32_updateBytes_entry(AbstractInterpreter::MethodKind kind) {
1095 address TemplateInterpreterGenerator::generate_CRC32C_updateBytes_entry(AbstractInterpreter::MethodKind kind) {
1142 address TemplateInterpreterGenerator::generate_math_entry(AbstractInterpreter::MethodKind kind) {
/openjdk9/hotspot/src/cpu/arm/vm/
H A DtemplateInterpreterGenerator_arm.cpp143 address TemplateInterpreterGenerator::generate_math_entry(AbstractInterpreter::MethodKind kind) {
931 address TemplateInterpreterGenerator::generate_CRC32_updateBytes_entry(AbstractInterpreter::MethodKind kind) { return NULL; }
932 address TemplateInterpreterGenerator::generate_CRC32C_updateBytes_entry(AbstractInterpreter::MethodKind kind) { return NULL; }
/openjdk9/hotspot/src/cpu/aarch64/vm/
H A DtemplateInterpreterGenerator_aarch64.cpp146 address TemplateInterpreterGenerator::generate_math_entry(AbstractInterpreter::MethodKind kind) {
245 void TemplateInterpreterGenerator::generate_transcendental_entry(AbstractInterpreter::MethodKind kind, int fpargs) {
1013 address TemplateInterpreterGenerator::generate_CRC32_updateBytes_entry(AbstractInterpreter::MethodKind kind) {
1069 address TemplateInterpreterGenerator::generate_CRC32C_updateBytes_entry(AbstractInterpreter::MethodKind kind) {
/openjdk9/hotspot/src/cpu/s390/vm/
H A DtemplateInterpreterGenerator_s390.cpp1303 address TemplateInterpreterGenerator::generate_math_entry(AbstractInterpreter::MethodKind kind) {
1989 address TemplateInterpreterGenerator::generate_CRC32_updateBytes_entry(AbstractInterpreter::MethodKind kind) {
2064 address TemplateInterpreterGenerator::generate_CRC32C_updateBytes_entry(AbstractInterpreter::MethodKind kind) {
/openjdk9/hotspot/src/cpu/ppc/vm/
H A DtemplateInterpreterGenerator_ppc.cpp1133 address TemplateInterpreterGenerator::generate_math_entry(AbstractInterpreter::MethodKind kind) {
1919 address TemplateInterpreterGenerator::generate_CRC32_updateBytes_entry(AbstractInterpreter::MethodKind kind) {
2006 address TemplateInterpreterGenerator::generate_CRC32C_updateBytes_entry(AbstractInterpreter::MethodKind kind) {
/openjdk9/hotspot/src/share/vm/prims/
H A DmethodHandles.cpp89 for (Interpreter::MethodKind mk = Interpreter::method_handle_invoke_FIRST;
91 mk = Interpreter::MethodKind(1 + (int)mk)) {

Completed in 308 milliseconds