Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add method to get source #37

Closed
GoogleCodeExporter opened this issue Apr 18, 2016 · 2 comments
Closed

add method to get source #37

GoogleCodeExporter opened this issue Apr 18, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

1. Add a method to get source in ClassItem

    def display_source(self) :
        self.__CM.decompiler_ob.display_all( self.get_name() )

    def get_source(self)
        self.__CM.decompiler_ob.get_all(self.get_name() )


2. Add a method to get source in EncodedMethod
    def source(self) :
        return self.__CM.decompiler_ob.get_source( self.get_class_name(), self.get_name() )

    def display_source(self) :
        self.__CM.decompiler_ob.display_source( self.get_class_name(), self.get_name() )

3. Remove  get_descriptor() because unused in source(self, class_name, 
method_name)  of dvm.py

4. rename source in display_source or show_source in dvm.py


Original issue reported on code.google.com by liadalex82@gmail.com on 18 Apr 2012 at 1:58

@GoogleCodeExporter
Copy link
Author

Original comment by anthony....@gmail.com on 18 Apr 2012 at 2:35

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Original comment by anthony....@gmail.com on 5 Aug 2012 at 10:54

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant