private JavaSymbol.TypeJavaSymbol getClassSymbol(String bytecodeName, int flags) { return bytecodeCompleter.getClassSymbol(Convert.flatName(bytecodeName), flags); }
@Test public void flatName() { assertThat(Convert.flatName("org/example/MyClass")).isEqualTo("org.example.MyClass"); assertThat(Convert.flatName("org/example/MyClass$InnerClass")) .isEqualTo("org.example.MyClass$InnerClass"); }