|
|
|
@ -17,6 +17,8 @@ public class ModClassFilter implements Filter<String> {
|
|
|
|
|
|
|
|
|
|
private static final Filter<String> INSTANCE = new ModClassFilter(); |
|
|
|
|
|
|
|
|
|
private static final String DESIGN_PREFIX = "com.fr.design"; |
|
|
|
|
|
|
|
|
|
public static Filter<String> getInstance() { |
|
|
|
|
return INSTANCE; |
|
|
|
|
} |
|
|
|
@ -31,6 +33,6 @@ public class ModClassFilter implements Filter<String> {
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public boolean accept(String s) { |
|
|
|
|
return FILTER_SET.contains(s); |
|
|
|
|
return FILTER_SET.contains(s) || s.startsWith(DESIGN_PREFIX); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|