inner classes - Access the methods of an InnerClassNode using java and ASM -
i trying access methods, fields, etc of inner class using asm. treating parent class classnode , storing
list<innerclassnode> list = myclassnode.innerclasses
i iterating through list , trying information want each innerclassnode. here's thing though. looking @ official asm api documentation, innerclassnode class not extend classnode class. in fact there appears no way useful inner class. since way that's apparent me information class "inside" classnode, impossible information inner class?
the innerclassnode , corresponding classvisitor.visitinnerclass method reflect information stored in class bytecode's innerclasses_attribute, describes relationship between inner class , current class (e.g. class name, outer class name , access flags). information inner class need load separately, same way you've loaded outer class.
Comments
Post a Comment