Add Any{Class,Member}Filter

Signed-off-by: Graham <gpe@openrs2.dev>
bzip2
Graham 4 years ago
parent 26d3c79b73
commit 3db6b2c381
  1. 7
      asm/src/main/java/dev/openrs2/asm/filter/AnyClassFilter.kt
  2. 7
      asm/src/main/java/dev/openrs2/asm/filter/AnyMemberFilter.kt

@ -0,0 +1,7 @@
package dev.openrs2.asm.filter
object AnyClassFilter : ClassFilter {
override fun matches(name: String): Boolean {
return true
}
}

@ -0,0 +1,7 @@
package dev.openrs2.asm.filter
object AnyMemberFilter : MemberFilter {
override fun matches(owner: String, name: String, desc: String): Boolean {
return true
}
}
Loading…
Cancel
Save