Browse Source

REPORT-51683 对象/classloader过滤缩略图 剪枝加速查找

feature/10.0
hades 4 years ago
parent
commit
e17b41cb91
  1. 3
      designer-base/src/main/java/com/fr/design/file/filter/ClassFilter.java
  2. 3
      designer-base/src/main/java/com/fr/design/mod/ModClassFilter.java

3
designer-base/src/main/java/com/fr/design/file/filter/ClassFilter.java

@ -5,6 +5,8 @@ import java.util.HashSet;
import java.util.Set; import java.util.Set;
/** /**
* classloader查找过滤器
*
* 过滤无需遍历的jdk class * 过滤无需遍历的jdk class
* *
* @author hades * @author hades
@ -26,6 +28,7 @@ public class ClassFilter implements Filter<String> {
FILTER_SET.add("java.awt.image.BufferedImage"); FILTER_SET.add("java.awt.image.BufferedImage");
FILTER_SET.add("sun.awt.AppContext"); FILTER_SET.add("sun.awt.AppContext");
FILTER_SET.add("com.fr.poly.creator.ECBlockCreator"); FILTER_SET.add("com.fr.poly.creator.ECBlockCreator");
FILTER_SET.add("com.fr.form.ui.ElementCaseImage");
} }
@Override @Override

3
designer-base/src/main/java/com/fr/design/mod/ModClassFilter.java

@ -5,6 +5,8 @@ import java.util.HashSet;
import java.util.Set; import java.util.Set;
/** /**
* 联动修改的类过滤器
*
* @author hades * @author hades
* @version 10.0 * @version 10.0
* Created by hades on 2021/5/31 * Created by hades on 2021/5/31
@ -24,6 +26,7 @@ public class ModClassFilter implements Filter<String> {
FILTER_SET.add("sun.awt.AppContext"); FILTER_SET.add("sun.awt.AppContext");
FILTER_SET.add("com.fr.poly.creator.ECBlockCreator"); FILTER_SET.add("com.fr.poly.creator.ECBlockCreator");
FILTER_SET.add("io.netty.channel.nio.SelectedSelectionKeySet"); FILTER_SET.add("io.netty.channel.nio.SelectedSelectionKeySet");
FILTER_SET.add("com.fr.form.ui.ElementCaseImage");
} }
@Override @Override

Loading…
Cancel
Save