@Test public void testPrettyParameters() { MethodDescriptor desc = MethodDescriptors.fromDesc("([I[[Lfoo/Bar;Z)V", "baz"); assertEquals("(int[], foo.Bar[][], boolean)", desc.prettyParameters()); }
public static MethodDescriptor fromDesc(String desc, String name) { final MethodKey key = new MethodKey(name, desc); return methodDescriptorCache.computeIfAbsent(key, MethodDescriptors::newDescriptor); }
MethodDescriptors { public static MethodDescriptor fromDesc(String desc, String name) { final MethodKey key = new MethodKey(name, desc); return methodDescriptorCache.computeIfAbsent(key, MethodDescriptors::newDescriptor); } }
MethodDescriptors { public static MethodDescriptor fromDesc(String desc, String name) { final MethodKey key = new MethodKey(name, desc); return methodDescriptorCache.computeIfAbsent(key, MethodDescriptors::newDescriptor); } private  MethodDescriptors(); }
MethodDescriptors { public static MethodDescriptor fromDesc(String desc, String name) { final MethodKey key = new MethodKey(name, desc); return methodDescriptorCache.computeIfAbsent(key, MethodDescriptors::newDescriptor); } private  MethodDescriptors(); static MethodDescriptor fromDesc(String desc, String name); }
MethodDescriptors { public static MethodDescriptor fromDesc(String desc, String name) { final MethodKey key = new MethodKey(name, desc); return methodDescriptorCache.computeIfAbsent(key, MethodDescriptors::newDescriptor); } private  MethodDescriptors(); static MethodDescriptor fromDesc(String desc, String name);  }