@Test public void toString_A$() throws Exception { MethodMeta target = new MethodMeta(); target.name = "doSomething"; ArgTypeMeta arg1 = new ArgTypeMeta(); arg1.name = "List<String>"; arg1.nameInMethodName = "List"; arg1.generics.add("String"); target.argTypes.add(arg1); ArgTypeMeta arg2 = new ArgTypeMeta(); arg2.name = "Map<String,Object>"; arg2.nameInMethodName = "Map"; arg2.generics.add("String"); arg2.generics.add("Object"); target.argTypes.add(arg2); String actual = target.toString(); String expected = "doSomething$List$Map"; assertEquals(expected, actual); }
@Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(name); for (ArgTypeMeta argTypeMeta : argTypes) { sb.append("$"); sb.append(argTypeMeta.nameInMethodName); } return sb.toString(); }
MethodMeta { @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(name); for (ArgTypeMeta argTypeMeta : argTypes) { sb.append("$"); sb.append(argTypeMeta.nameInMethodName); } return sb.toString(); } }
MethodMeta { @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(name); for (ArgTypeMeta argTypeMeta : argTypes) { sb.append("$"); sb.append(argTypeMeta.nameInMethodName); } return sb.toString(); }  }
MethodMeta { @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(name); for (ArgTypeMeta argTypeMeta : argTypes) { sb.append("$"); sb.append(argTypeMeta.nameInMethodName); } return sb.toString(); }  @Override String toString(); }
MethodMeta { @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(name); for (ArgTypeMeta argTypeMeta : argTypes) { sb.append("$"); sb.append(argTypeMeta.nameInMethodName); } return sb.toString(); }  @Override String toString(); public String name; public boolean isStatic; public boolean isAccessor; public AccessModifier accessModifier; public ReturnTypeMeta returnType; public List<ArgTypeMeta> argTypes; public List<String> argNames; public List<ExceptionMeta> throwsExceptions; }