mirror of
https://github.com/revanced/smali.git
synced 2025-06-12 04:17:36 +02:00
Add support for renaming/moving classes
This commit is contained in:
@ -0,0 +1,36 @@
|
||||
.class public Lmy/blah;
|
||||
.super Lmy/blah;
|
||||
.implements Lmy/blah;
|
||||
|
||||
.annotation build Lmy/blah;
|
||||
value = .subannotation Lmy/blah;
|
||||
value = Lmy/blah;
|
||||
.end subannotation
|
||||
.end annotation
|
||||
|
||||
.field static public blah:Lmy/blah; = Lmy/blah;
|
||||
|
||||
.method public blah(Lmy/blah;)Lmy/blah;
|
||||
.registers 2
|
||||
.local p0, "this":Lmy/blah;
|
||||
|
||||
:start
|
||||
iget-object v0, v0, Lmy/blah;->blah:Lmy/blah;
|
||||
|
||||
invoke-virtual {v0}, Lmy/blah;->blah(Lmy/blah;)Lmy/blah;
|
||||
|
||||
instance-of v0, v0, Lmy/blah;
|
||||
check-cast v0, Lmy/blah;
|
||||
new-instance v0, Lmy/blah;
|
||||
const-class v0, Lmy/blah;
|
||||
throw-verification-error generic-error, Lmy/blah;
|
||||
|
||||
filled-new-array {v0, v0, v0, v0, v0}, Lmy/blah;
|
||||
new-array v0, v0, Lmy/blah;
|
||||
filled-new-array/range {v0}, Lmy/blah;
|
||||
:end
|
||||
|
||||
.catch Lmy/blah; { :start .. :end } :handler
|
||||
:handler
|
||||
return-void
|
||||
.end method
|
@ -0,0 +1,36 @@
|
||||
.class public Lblah;
|
||||
.super Lblah;
|
||||
.implements Lblah;
|
||||
|
||||
.annotation build Lblah;
|
||||
value = .subannotation Lblah;
|
||||
value = Lblah;
|
||||
.end subannotation
|
||||
.end annotation
|
||||
|
||||
.field static public blah:Lblah; = Lblah;
|
||||
|
||||
.method public blah(Lblah;)Lblah;
|
||||
.registers 2
|
||||
.local p0, "this":Lblah;
|
||||
|
||||
:start
|
||||
iget-object v0, v0, Lblah;->blah:Lblah;
|
||||
|
||||
invoke-virtual {v0}, Lblah;->blah(Lblah;)Lblah;
|
||||
|
||||
instance-of v0, v0, Lblah;
|
||||
check-cast v0, Lblah;
|
||||
new-instance v0, Lblah;
|
||||
const-class v0, Lblah;
|
||||
throw-verification-error generic-error, Lblah;
|
||||
|
||||
filled-new-array {v0, v0, v0, v0, v0}, Lblah;
|
||||
new-array v0, v0, Lblah;
|
||||
filled-new-array/range {v0}, Lblah;
|
||||
:end
|
||||
|
||||
.catch Lblah; { :start .. :end } :handler
|
||||
:handler
|
||||
return-void
|
||||
.end method
|
Reference in New Issue
Block a user