-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle inlined classes while collecting override related methods (…
- Loading branch information
Showing
7 changed files
with
77 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
jadx-core/src/main/java/jadx/core/dex/attributes/nodes/InlinedAttr.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package jadx.core.dex.attributes.nodes; | ||
|
||
import jadx.api.plugins.input.data.attributes.IJadxAttrType; | ||
import jadx.api.plugins.input.data.attributes.IJadxAttribute; | ||
import jadx.core.dex.attributes.AType; | ||
import jadx.core.dex.nodes.ClassNode; | ||
|
||
public class InlinedAttr implements IJadxAttribute { | ||
|
||
private final ClassNode inlineCls; | ||
|
||
public InlinedAttr(ClassNode inlineCls) { | ||
this.inlineCls = inlineCls; | ||
} | ||
|
||
public ClassNode getInlineCls() { | ||
return inlineCls; | ||
} | ||
|
||
@Override | ||
public IJadxAttrType<InlinedAttr> getAttrType() { | ||
return AType.INLINED; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "INLINED: " + inlineCls; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters