Java 类com.sun.tools.classfile.Dependency.Filter 实例源码

项目:OpenJSharp    文件:Dependencies.java   
/**
 * Get the default filter used to determine included when searching
 * the transitive closure of all the dependencies.
 * Unless overridden, the default filter accepts all dependencies.
 * @return the default filter.
 */
public static Filter getDefaultFilter() {
    return DefaultFilter.instance();
}
项目:OpenJSharp    文件:Dependencies.java   
/**
 * Get a filter which uses a regular expression on the target's class name
 * to determine if a dependency is of interest.
 * @param pattern the pattern used to match the target's class name
 * @return a filter for matching the target class name with a regular expression
 */
public static Filter getRegexFilter(Pattern pattern) {
    return new TargetRegexFilter(pattern);
}
项目:OpenJSharp    文件:Dependencies.java   
/**
 * Get a filter which checks the package of a target's class name
 * to determine if a dependency is of interest. The filter checks if the
 * package of the target's class matches any of a set of given package
 * names. The match may optionally match subpackages of the given names as well.
 * @param packageNames the package names used to match the target's class name
 * @param matchSubpackages whether or not to match subpackages as well
 * @return a filter for checking the target package name against a list of package names
 */
public static Filter getPackageFilter(Set<String> packageNames, boolean matchSubpackages) {
    return new TargetPackageFilter(packageNames, matchSubpackages);
}
项目:OpenJSharp    文件:Dependencies.java   
/**
 * Get the filter used to determine the dependencies included when searching
 * the transitive closure of all the dependencies.
 * Unless overridden, the default filter accepts all dependencies.
 * @return the filter
 */
public Filter getFilter() {
    if (filter == null)
        filter = getDefaultFilter();
    return filter;
}
项目:OpenJSharp    文件:Dependencies.java   
/**
 * Set the filter used to determine the dependencies included when searching
 * the transitive closure of all the dependencies.
 * @param f the filter
 */
public void setFilter(Filter f) {
    f.getClass(); // null check
    filter = f;
}
项目:openjdk-jdk10    文件:Dependencies.java   
/**
 * Get the default filter used to determine included when searching
 * the transitive closure of all the dependencies.
 * Unless overridden, the default filter accepts all dependencies.
 * @return the default filter.
 */
public static Filter getDefaultFilter() {
    return DefaultFilter.instance();
}
项目:openjdk-jdk10    文件:Dependencies.java   
/**
 * Get a filter which uses a regular expression on the target's class name
 * to determine if a dependency is of interest.
 * @param pattern the pattern used to match the target's class name
 * @return a filter for matching the target class name with a regular expression
 */
public static Filter getRegexFilter(Pattern pattern) {
    return new TargetRegexFilter(pattern);
}
项目:openjdk-jdk10    文件:Dependencies.java   
/**
 * Get a filter which checks the package of a target's class name
 * to determine if a dependency is of interest. The filter checks if the
 * package of the target's class matches any of a set of given package
 * names. The match may optionally match subpackages of the given names as well.
 * @param packageNames the package names used to match the target's class name
 * @param matchSubpackages whether or not to match subpackages as well
 * @return a filter for checking the target package name against a list of package names
 */
public static Filter getPackageFilter(Set<String> packageNames, boolean matchSubpackages) {
    return new TargetPackageFilter(packageNames, matchSubpackages);
}
项目:openjdk-jdk10    文件:Dependencies.java   
/**
 * Get the filter used to determine the dependencies included when searching
 * the transitive closure of all the dependencies.
 * Unless overridden, the default filter accepts all dependencies.
 * @return the filter
 */
public Filter getFilter() {
    if (filter == null)
        filter = getDefaultFilter();
    return filter;
}
项目:openjdk-jdk10    文件:Dependencies.java   
/**
 * Set the filter used to determine the dependencies included when searching
 * the transitive closure of all the dependencies.
 * @param f the filter
 */
public void setFilter(Filter f) {
    filter = Objects.requireNonNull(f);
}
项目:openjdk9    文件:Dependencies.java   
/**
 * Get the default filter used to determine included when searching
 * the transitive closure of all the dependencies.
 * Unless overridden, the default filter accepts all dependencies.
 * @return the default filter.
 */
public static Filter getDefaultFilter() {
    return DefaultFilter.instance();
}
项目:openjdk9    文件:Dependencies.java   
/**
 * Get a filter which uses a regular expression on the target's class name
 * to determine if a dependency is of interest.
 * @param pattern the pattern used to match the target's class name
 * @return a filter for matching the target class name with a regular expression
 */
public static Filter getRegexFilter(Pattern pattern) {
    return new TargetRegexFilter(pattern);
}
项目:openjdk9    文件:Dependencies.java   
/**
 * Get a filter which checks the package of a target's class name
 * to determine if a dependency is of interest. The filter checks if the
 * package of the target's class matches any of a set of given package
 * names. The match may optionally match subpackages of the given names as well.
 * @param packageNames the package names used to match the target's class name
 * @param matchSubpackages whether or not to match subpackages as well
 * @return a filter for checking the target package name against a list of package names
 */
public static Filter getPackageFilter(Set<String> packageNames, boolean matchSubpackages) {
    return new TargetPackageFilter(packageNames, matchSubpackages);
}
项目:openjdk9    文件:Dependencies.java   
/**
 * Get the filter used to determine the dependencies included when searching
 * the transitive closure of all the dependencies.
 * Unless overridden, the default filter accepts all dependencies.
 * @return the filter
 */
public Filter getFilter() {
    if (filter == null)
        filter = getDefaultFilter();
    return filter;
}
项目:openjdk9    文件:Dependencies.java   
/**
 * Set the filter used to determine the dependencies included when searching
 * the transitive closure of all the dependencies.
 * @param f the filter
 */
public void setFilter(Filter f) {
    filter = Objects.requireNonNull(f);
}
项目:lookaside_java-1.8.0-openjdk    文件:Dependencies.java   
/**
 * Get the default filter used to determine included when searching
 * the transitive closure of all the dependencies.
 * Unless overridden, the default filter accepts all dependencies.
 * @return the default filter.
 */
public static Filter getDefaultFilter() {
    return DefaultFilter.instance();
}
项目:lookaside_java-1.8.0-openjdk    文件:Dependencies.java   
/**
 * Get a filter which uses a regular expression on the target's class name
 * to determine if a dependency is of interest.
 * @param pattern the pattern used to match the target's class name
 * @return a filter for matching the target class name with a regular expression
 */
public static Filter getRegexFilter(Pattern pattern) {
    return new TargetRegexFilter(pattern);
}
项目:lookaside_java-1.8.0-openjdk    文件:Dependencies.java   
/**
 * Get a filter which checks the package of a target's class name
 * to determine if a dependency is of interest. The filter checks if the
 * package of the target's class matches any of a set of given package
 * names. The match may optionally match subpackages of the given names as well.
 * @param packageNames the package names used to match the target's class name
 * @param matchSubpackages whether or not to match subpackages as well
 * @return a filter for checking the target package name against a list of package names
 */
public static Filter getPackageFilter(Set<String> packageNames, boolean matchSubpackages) {
    return new TargetPackageFilter(packageNames, matchSubpackages);
}
项目:lookaside_java-1.8.0-openjdk    文件:Dependencies.java   
/**
 * Get the filter used to determine the dependencies included when searching
 * the transitive closure of all the dependencies.
 * Unless overridden, the default filter accepts all dependencies.
 * @return the filter
 */
public Filter getFilter() {
    if (filter == null)
        filter = getDefaultFilter();
    return filter;
}
项目:lookaside_java-1.8.0-openjdk    文件:Dependencies.java   
/**
 * Set the filter used to determine the dependencies included when searching
 * the transitive closure of all the dependencies.
 * @param f the filter
 */
public void setFilter(Filter f) {
    f.getClass(); // null check
    filter = f;
}
项目:jsr308-langtools    文件:Dependencies.java   
/**
 * Get the default filter used to determine included when searching
 * the transitive closure of all the dependencies.
 * Unless overridden, the default filter accepts all dependencies.
 * @return the default filter.
 */
public static Filter getDefaultFilter() {
    return DefaultFilter.instance();
}
项目:jsr308-langtools    文件:Dependencies.java   
/**
 * Get a filter which uses a regular expression on the target's class name
 * to determine if a dependency is of interest.
 * @param pattern the pattern used to match the target's class name
 * @return a filter for matching the target class name with a regular expression
 */
public static Filter getRegexFilter(Pattern pattern) {
    return new TargetRegexFilter(pattern);
}
项目:jsr308-langtools    文件:Dependencies.java   
/**
 * Get a filter which checks the package of a target's class name
 * to determine if a dependency is of interest. The filter checks if the
 * package of the target's class matches any of a set of given package
 * names. The match may optionally match subpackages of the given names as well.
 * @param packageNames the package names used to match the target's class name
 * @param matchSubpackages whether or not to match subpackages as well
 * @return a filter for checking the target package name against a list of package names
 */
public static Filter getPackageFilter(Set<String> packageNames, boolean matchSubpackages) {
    return new TargetPackageFilter(packageNames, matchSubpackages);
}
项目:jsr308-langtools    文件:Dependencies.java   
/**
 * Get the filter used to determine the dependencies included when searching
 * the transitive closure of all the dependencies.
 * Unless overridden, the default filter accepts all dependencies.
 * @return the filter
 */
public Filter getFilter() {
    if (filter == null)
        filter = getDefaultFilter();
    return filter;
}
项目:jsr308-langtools    文件:Dependencies.java   
/**
 * Set the filter used to determine the dependencies included when searching
 * the transitive closure of all the dependencies.
 * @param f the filter
 */
public void setFilter(Filter f) {
    f.getClass(); // null check
    filter = f;
}
项目:infobip-open-jdk-8    文件:Dependencies.java   
/**
 * Get the default filter used to determine included when searching
 * the transitive closure of all the dependencies.
 * Unless overridden, the default filter accepts all dependencies.
 * @return the default filter.
 */
public static Filter getDefaultFilter() {
    return DefaultFilter.instance();
}
项目:infobip-open-jdk-8    文件:Dependencies.java   
/**
 * Get a filter which uses a regular expression on the target's class name
 * to determine if a dependency is of interest.
 * @param pattern the pattern used to match the target's class name
 * @return a filter for matching the target class name with a regular expression
 */
public static Filter getRegexFilter(Pattern pattern) {
    return new TargetRegexFilter(pattern);
}
项目:infobip-open-jdk-8    文件:Dependencies.java   
/**
 * Get a filter which checks the package of a target's class name
 * to determine if a dependency is of interest. The filter checks if the
 * package of the target's class matches any of a set of given package
 * names. The match may optionally match subpackages of the given names as well.
 * @param packageNames the package names used to match the target's class name
 * @param matchSubpackages whether or not to match subpackages as well
 * @return a filter for checking the target package name against a list of package names
 */
public static Filter getPackageFilter(Set<String> packageNames, boolean matchSubpackages) {
    return new TargetPackageFilter(packageNames, matchSubpackages);
}
项目:infobip-open-jdk-8    文件:Dependencies.java   
/**
 * Get the filter used to determine the dependencies included when searching
 * the transitive closure of all the dependencies.
 * Unless overridden, the default filter accepts all dependencies.
 * @return the filter
 */
public Filter getFilter() {
    if (filter == null)
        filter = getDefaultFilter();
    return filter;
}
项目:infobip-open-jdk-8    文件:Dependencies.java   
/**
 * Set the filter used to determine the dependencies included when searching
 * the transitive closure of all the dependencies.
 * @param f the filter
 */
public void setFilter(Filter f) {
    f.getClass(); // null check
    filter = f;
}
项目:openjdk-source-code-learn    文件:Dependencies.java   
/**
 * Get the default filter used to determine included when searching
 * the transitive closure of all the dependencies.
 * Unless overridden, the default filter accepts all dependencies.
 * @return the default filter.
 */
public static Filter getDefaultFilter() {
    return DefaultFilter.instance();
}
项目:openjdk-source-code-learn    文件:Dependencies.java   
/**
 * Get a filter which uses a regular expression on the target's class name
 * to determine if a dependency is of interest.
 * @param pattern the pattern used to match the target's class name
 * @return a filter for matching the target class name with a regular expression
 */
public static Filter getRegexFilter(Pattern pattern) {
    return new TargetRegexFilter(pattern);
}
项目:openjdk-source-code-learn    文件:Dependencies.java   
/**
 * Get a filter which checks the package of a target's class name
 * to determine if a dependency is of interest. The filter checks if the
 * package of the target's class matches any of a set of given package
 * names. The match may optionally match subpackages of the given names as well.
 * @param packageNames the package names used to match the target's class name
 * @param matchSubpackages whether or not to match subpackages as well
 * @return a filter for checking the target package name against a list of package names
 */
public static Filter getPackageFilter(Set<String> packageNames, boolean matchSubpackages) {
    return new TargetPackageFilter(packageNames, matchSubpackages);
}
项目:openjdk-source-code-learn    文件:Dependencies.java   
/**
 * Get the filter used to determine the dependencies included when searching
 * the transitive closure of all the dependencies.
 * Unless overridden, the default filter accepts all dependencies.
 * @return the filter
 */
public Filter getFilter() {
    if (filter == null)
        filter = getDefaultFilter();
    return filter;
}
项目:openjdk-source-code-learn    文件:Dependencies.java   
/**
 * Set the filter used to determine the dependencies included when searching
 * the transitive closure of all the dependencies.
 * @param f the filter
 */
public void setFilter(Filter f) {
    f.getClass(); // null check
    filter = f;
}
项目:OLD-OpenJDK8    文件:Dependencies.java   
/**
 * Get the default filter used to determine included when searching
 * the transitive closure of all the dependencies.
 * Unless overridden, the default filter accepts all dependencies.
 * @return the default filter.
 */
public static Filter getDefaultFilter() {
    return DefaultFilter.instance();
}
项目:OLD-OpenJDK8    文件:Dependencies.java   
/**
 * Get a filter which uses a regular expression on the target's class name
 * to determine if a dependency is of interest.
 * @param pattern the pattern used to match the target's class name
 * @return a filter for matching the target class name with a regular expression
 */
public static Filter getRegexFilter(Pattern pattern) {
    return new TargetRegexFilter(pattern);
}
项目:OLD-OpenJDK8    文件:Dependencies.java   
/**
 * Get a filter which checks the package of a target's class name
 * to determine if a dependency is of interest. The filter checks if the
 * package of the target's class matches any of a set of given package
 * names. The match may optionally match subpackages of the given names as well.
 * @param packageNames the package names used to match the target's class name
 * @param matchSubpackages whether or not to match subpackages as well
 * @return a filter for checking the target package name against a list of package names
 */
public static Filter getPackageFilter(Set<String> packageNames, boolean matchSubpackages) {
    return new TargetPackageFilter(packageNames, matchSubpackages);
}
项目:OLD-OpenJDK8    文件:Dependencies.java   
/**
 * Get the filter used to determine the dependencies included when searching
 * the transitive closure of all the dependencies.
 * Unless overridden, the default filter accepts all dependencies.
 * @return the filter
 */
public Filter getFilter() {
    if (filter == null)
        filter = getDefaultFilter();
    return filter;
}
项目:OLD-OpenJDK8    文件:Dependencies.java   
/**
 * Set the filter used to determine the dependencies included when searching
 * the transitive closure of all the dependencies.
 * @param f the filter
 */
public void setFilter(Filter f) {
    f.getClass(); // null check
    filter = f;
}