File tree 2 files changed +11
-0
lines changed
dev.skidfuscator.obfuscator/src/main/java/dev/skidfuscator/obfuscator/exempt
org.mapleir.parent/org.mapleir.modasm/src/main/java/org/mapleir/asm
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,9 @@ public boolean test(ClassNode var) {
79
79
.match ("public" , var .isPublic ())
80
80
.match ("protected" , var .isProtected ())
81
81
.match ("private" , var .isPrivate ())
82
+ .match ("abstract" , var .isAbstract ())
83
+ .match ("final" , var .isFinal ())
84
+ .match ("interface" , var .isInterface ())
82
85
.check ();
83
86
84
87
assert initialMatch : "Failed initial match: " + parsed + " got:" + var ;
Original file line number Diff line number Diff line change @@ -88,6 +88,14 @@ public boolean isProtected() {
88
88
return (node .access & Opcodes .ACC_PROTECTED ) != 0 ;
89
89
}
90
90
91
+ public boolean isAbstract () {
92
+ return (node .access & Opcodes .ACC_ABSTRACT ) != 0 ;
93
+ }
94
+
95
+ public boolean isFinal () {
96
+ return (node .access & Opcodes .ACC_FINAL ) != 0 ;
97
+ }
98
+
91
99
public boolean isPrivate () {
92
100
return (node .access & Opcodes .ACC_PRIVATE ) != 0 ;
93
101
}
You can’t perform that action at this time.
0 commit comments