Package jadx.core.dex.nodes

Examples of jadx.core.dex.nodes.ClassNode.addInnerClass()


    ClassNode cls = getClassNode(TestCls.class);
    String code = cls.getCode().toString();
    assertThat(code, containsString("case CONST_ABC:"));
    assertThat(code, containsString("return CONST_CDE;"));

    cls.addInnerClass(getClassNode(TestCls.Inner.class));
    assertThat(code, containsString("case CONST_CDE_PRIVATE:"));
    assertThat(code, containsString(".CONST_ABC;"));
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.