Boolean byName = _patterns.isIncludedAndNotExcluded(name); if (Boolean.FALSE.equals(byName)) return byName; // Already excluded so no need to check location. if ("file".equalsIgnoreCase(jarUri.getScheme())) byLocation = _locations.isIncludedAndNotExcluded(jarUri);
Boolean byName = _patterns.isIncludedAndNotExcluded(clazz.getName()); if (Boolean.FALSE.equals(byName)) return byName; // Already excluded so no need to check location. URI location = TypeUtil.getLocationOfClass(clazz); Boolean byLocation = location == null ? null : _locations.isIncludedAndNotExcluded(location);
Boolean byName = _patterns.isIncludedAndNotExcluded(name); if (Boolean.FALSE.equals(byName)) return byName; // Already excluded so no need to check location. if ("file".equalsIgnoreCase(jarUri.getScheme())) byLocation = _locations.isIncludedAndNotExcluded(jarUri);
Boolean byName = _patterns.isIncludedAndNotExcluded(clazz.getName()); if (Boolean.FALSE.equals(byName)) return byName; // Already excluded so no need to check location. URI location = TypeUtil.getLocationOfClass(clazz); Boolean byLocation = location == null ? null : _locations.isIncludedAndNotExcluded(location);