mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-11 21:57:35 +00:00
fix: broken module-info.class detection
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -60,7 +60,7 @@ public class TypeDiscovererModuleInfoSilencer implements TurboClassTransformer {
|
||||
if (insn instanceof LdcInsnNode) {
|
||||
val ldc = (LdcInsnNode) insn;
|
||||
if (ldc.cst.equals("[^\\s\\$]+(\\$[^\\s]+)?\\.class$")) {
|
||||
ldc.cst = "(?!module-info)[^\\s\\$]+(\\$[^\\s]+)?\\.class$";
|
||||
ldc.cst = "[^\\s\\$]+(?<!module-info)(\\$[^\\s]+)?\\.class$";
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user