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 support for renaming methods, classes and fields #794

Merged
merged 3 commits into from
Dec 10, 2019
Merged

Add support for renaming methods, classes and fields #794

merged 3 commits into from
Dec 10, 2019

Commits on Dec 10, 2019

  1. Add getRealFullName() to ClassNode and JavaClass and searchJavaClassB…

    …yRealName() to JadxWrapper
    
    Those methods is like getFullName() and searchJavaClassByClassName(), but for class names without aliases.
    It is necessary for renaming classes/methods/fields.
    S-trace committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    39e33b7 View commit details
    Browse the repository at this point in the history
  2. core: Make getFieldNode(), getMethodNode() and getRoot() public

    This is necessary for renaming functionality
    S-trace committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    d3914e7 View commit details
    Browse the repository at this point in the history
  3. jadx-gui: Add Rename popup menu entry (renames classes, methods and f…

    …ields)
    
    It allows user to rename classes, methods and fields.
    It updates deobfuscation map and reload file.
    This may be suboptimal, and maybe some RenameVisitor should be added.
    Deobfuscation should be enabled in order to allow this.
    S-trace committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    62ec97e View commit details
    Browse the repository at this point in the history