(int kind)
| 146 | } |
| 147 | |
| 148 | public static Kind get(int kind) { |
| 149 | return switch (kind) { |
| 150 | case MethodHandleInfo.REF_getField -> REF_getField; |
| 151 | case MethodHandleInfo.REF_getStatic -> REF_getStatic; |
| 152 | case MethodHandleInfo.REF_putField -> REF_putField; |
| 153 | case MethodHandleInfo.REF_putStatic -> REF_putStatic; |
| 154 | case MethodHandleInfo.REF_invokeVirtual -> REF_invokeVirtual; |
| 155 | case MethodHandleInfo.REF_invokeStatic -> REF_invokeStatic; |
| 156 | case MethodHandleInfo.REF_invokeSpecial -> REF_invokeSpecial; |
| 157 | case MethodHandleInfo.REF_newInvokeSpecial -> REF_newInvokeSpecial; |
| 158 | case MethodHandleInfo.REF_invokeInterface -> REF_invokeInterface; |
| 159 | default -> throw new AnalysisException("No MethodHandle kind for " + kind); |
| 160 | }; |
| 161 | } |
| 162 | } |
| 163 | } |
nothing calls this directly
no outgoing calls
no test coverage detected