()
| 181 | } |
| 182 | |
| 183 | public boolean isValid() { |
| 184 | return !pathsA.isEmpty() |
| 185 | && !pathsB.isEmpty() |
| 186 | && Collections.disjoint(pathsA, pathsB) |
| 187 | && Collections.disjoint(pathsA, sharedClassPath) |
| 188 | && Collections.disjoint(pathsB, sharedClassPath) |
| 189 | //&& Collections.disjoint(classPathA, classPathB) |
| 190 | && Collections.disjoint(classPathA, pathsA) |
| 191 | && Collections.disjoint(classPathB, pathsA) |
| 192 | && Collections.disjoint(classPathA, pathsB) |
| 193 | && Collections.disjoint(classPathB, pathsB) |
| 194 | && Collections.disjoint(classPathA, sharedClassPath) |
| 195 | && Collections.disjoint(classPathB, sharedClassPath) |
| 196 | && tryCompilePattern(nonObfuscatedClassPatternA) |
| 197 | && tryCompilePattern(nonObfuscatedClassPatternB) |
| 198 | && tryCompilePattern(nonObfuscatedMemberPatternA) |
| 199 | && tryCompilePattern(nonObfuscatedMemberPatternB); |
| 200 | } |
| 201 | |
| 202 | private static boolean tryCompilePattern(String regex) { |
| 203 | try { |
no test coverage detected