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

项目:OpenJSharp    文件:Dependencies.java   
/**
 * Get the finder used to locate the dependencies for a class.
 * @return the finder
 */
public Finder getFinder() {
    if (finder == null)
        finder = getDefaultFinder();
    return finder;
}
项目:OpenJSharp    文件:Dependencies.java   
/**
 * Set the finder used to locate the dependencies for a class.
 * @param f the finder
 */
public void setFinder(Finder f) {
    f.getClass(); // null check
    finder = f;
}
项目:openjdk-jdk10    文件:Dependencies.java   
/**
 * Get the finder used to locate the dependencies for a class.
 * @return the finder
 */
public Finder getFinder() {
    if (finder == null)
        finder = getDefaultFinder();
    return finder;
}
项目:openjdk9    文件:Dependencies.java   
/**
 * Get the finder used to locate the dependencies for a class.
 * @return the finder
 */
public Finder getFinder() {
    if (finder == null)
        finder = getDefaultFinder();
    return finder;
}
项目:lookaside_java-1.8.0-openjdk    文件:Dependencies.java   
/**
 * Get the finder used to locate the dependencies for a class.
 * @return the finder
 */
public Finder getFinder() {
    if (finder == null)
        finder = getDefaultFinder();
    return finder;
}
项目:lookaside_java-1.8.0-openjdk    文件:Dependencies.java   
/**
 * Set the finder used to locate the dependencies for a class.
 * @param f the finder
 */
public void setFinder(Finder f) {
    f.getClass(); // null check
    finder = f;
}
项目:jsr308-langtools    文件:Dependencies.java   
/**
 * Get the finder used to locate the dependencies for a class.
 * @return the finder
 */
public Finder getFinder() {
    if (finder == null)
        finder = getDefaultFinder();
    return finder;
}
项目:jsr308-langtools    文件:Dependencies.java   
/**
 * Set the finder used to locate the dependencies for a class.
 * @param f the finder
 */
public void setFinder(Finder f) {
    f.getClass(); // null check
    finder = f;
}
项目:infobip-open-jdk-8    文件:Dependencies.java   
/**
 * Get the finder used to locate the dependencies for a class.
 * @return the finder
 */
public Finder getFinder() {
    if (finder == null)
        finder = getDefaultFinder();
    return finder;
}
项目:infobip-open-jdk-8    文件:Dependencies.java   
/**
 * Set the finder used to locate the dependencies for a class.
 * @param f the finder
 */
public void setFinder(Finder f) {
    f.getClass(); // null check
    finder = f;
}
项目:openjdk-source-code-learn    文件:Dependencies.java   
/**
 * Get the finder used to locate the dependencies for a class.
 * @return the finder
 */
public Finder getFinder() {
    if (finder == null)
        finder = getDefaultFinder();
    return finder;
}
项目:openjdk-source-code-learn    文件:Dependencies.java   
/**
 * Set the finder used to locate the dependencies for a class.
 * @param f the finder
 */
public void setFinder(Finder f) {
    f.getClass(); // null check
    finder = f;
}
项目:OLD-OpenJDK8    文件:Dependencies.java   
/**
 * Get the finder used to locate the dependencies for a class.
 * @return the finder
 */
public Finder getFinder() {
    if (finder == null)
        finder = getDefaultFinder();
    return finder;
}
项目:OLD-OpenJDK8    文件:Dependencies.java   
/**
 * Set the finder used to locate the dependencies for a class.
 * @param f the finder
 */
public void setFinder(Finder f) {
    f.getClass(); // null check
    finder = f;
}
项目:s4j    文件:Dependencies.java   
/**
 * Get the finder used to locate the dependencies for a class.
 * @return the finder
 */
public Finder getFinder() {
    if (finder == null)
        finder = getDefaultFinder();
    return finder;
}
项目:s4j    文件:Dependencies.java   
/**
 * Set the finder used to locate the dependencies for a class.
 * @param f the finder
 */
public void setFinder(Finder f) {
    f.getClass(); // null check
    finder = f;
}
项目:jdk7-langtools    文件:Dependencies.java   
/**
 * Get the finder used to locate the dependencies for a class.
 * @return the finder
 */
public Finder getFinder() {
    if (finder == null)
        finder = getDefaultFinder();
    return finder;
}
项目:jdk7-langtools    文件:Dependencies.java   
/**
 * Set the finder used to locate the dependencies for a class.
 * @param f the finder
 */
public void setFinder(Finder f) {
    f.getClass(); // null check
    finder = f;
}
项目:javap    文件:Dependencies.java   
/**
 * Get the finder used to locate the dependencies for a class.
 * @return the finder
 */
public Finder getFinder() {
    if (finder == null)
        finder = getDefaultFinder();
    return finder;
}
项目:javap    文件:Dependencies.java   
/**
 * Set the finder used to locate the dependencies for a class.
 * @param f the finder
 */
public void setFinder(Finder f) {
    f.getClass(); // null check
    finder = f;
}
项目:openjdk-icedtea7    文件:Dependencies.java   
/**
 * Get the finder used to locate the dependencies for a class.
 * @return the finder
 */
public Finder getFinder() {
    if (finder == null)
        finder = getDefaultFinder();
    return finder;
}
项目:openjdk-icedtea7    文件:Dependencies.java   
/**
 * Set the finder used to locate the dependencies for a class.
 * @param f the finder
 */
public void setFinder(Finder f) {
    f.getClass(); // null check
    finder = f;
}
项目:INF5000-StaticProxy    文件:Dependencies.java   
/**
 * Get the finder used to locate the dependencies for a class.
 * @return the finder
 */
public Finder getFinder() {
    if (finder == null)
        finder = getDefaultFinder();
    return finder;
}
项目:INF5000-StaticProxy    文件:Dependencies.java   
/**
 * Set the finder used to locate the dependencies for a class.
 * @param f the finder
 */
public void setFinder(Finder f) {
    f.getClass(); // null check
    finder = f;
}
项目:OpenJSharp    文件:Dependencies.java   
/**
 * Get the  default finder used to locate the dependencies for a class.
 * @return the default finder
 */
public static Finder getDefaultFinder() {
    return new APIDependencyFinder(AccessFlags.ACC_PRIVATE);
}
项目:OpenJSharp    文件:Dependencies.java   
/**
 * Get a finder used to locate the API dependencies for a class.
 * These include the superclass, superinterfaces, and classes referenced in
 * the declarations of fields and methods.  The fields and methods that
 * are checked can be limited according to a specified access.
 * The access parameter must be one of {@link AccessFlags#ACC_PUBLIC ACC_PUBLIC},
 * {@link AccessFlags#ACC_PRIVATE ACC_PRIVATE},
 * {@link AccessFlags#ACC_PROTECTED ACC_PROTECTED}, or 0 for
 * package private access. Members with greater than or equal accessibility
 * to that specified will be searched for dependencies.
 * @param access the access of members to be checked
 * @return an API finder
 */
public static Finder getAPIFinder(int access) {
    return new APIDependencyFinder(access);
}
项目:OpenJSharp    文件:Dependencies.java   
/**
 * Get a finder to do class dependency analysis.
 *
 * @return a Class dependency finder
 */
public static Finder getClassDependencyFinder() {
    return new ClassDependencyFinder();
}
项目:openjdk-jdk10    文件:Dependencies.java   
/**
 * Get the  default finder used to locate the dependencies for a class.
 * @return the default finder
 */
public static Finder getDefaultFinder() {
    return new APIDependencyFinder(AccessFlags.ACC_PRIVATE);
}
项目:openjdk-jdk10    文件:Dependencies.java   
/**
 * Get a finder used to locate the API dependencies for a class.
 * These include the superclass, superinterfaces, and classes referenced in
 * the declarations of fields and methods.  The fields and methods that
 * are checked can be limited according to a specified access.
 * The access parameter must be one of {@link AccessFlags#ACC_PUBLIC ACC_PUBLIC},
 * {@link AccessFlags#ACC_PRIVATE ACC_PRIVATE},
 * {@link AccessFlags#ACC_PROTECTED ACC_PROTECTED}, or 0 for
 * package private access. Members with greater than or equal accessibility
 * to that specified will be searched for dependencies.
 * @param access the access of members to be checked
 * @return an API finder
 */
public static Finder getAPIFinder(int access) {
    return new APIDependencyFinder(access);
}
项目:openjdk-jdk10    文件:Dependencies.java   
/**
 * Get a finder to do class dependency analysis.
 *
 * @return a Class dependency finder
 */
public static Finder getClassDependencyFinder() {
    return new ClassDependencyFinder();
}
项目:openjdk-jdk10    文件:Dependencies.java   
/**
 * Set the finder used to locate the dependencies for a class.
 * @param f the finder
 */
public void setFinder(Finder f) {
    finder = Objects.requireNonNull(f);
}
项目:openjdk9    文件:Dependencies.java   
/**
 * Get the  default finder used to locate the dependencies for a class.
 * @return the default finder
 */
public static Finder getDefaultFinder() {
    return new APIDependencyFinder(AccessFlags.ACC_PRIVATE);
}
项目:openjdk9    文件:Dependencies.java   
/**
 * Get a finder used to locate the API dependencies for a class.
 * These include the superclass, superinterfaces, and classes referenced in
 * the declarations of fields and methods.  The fields and methods that
 * are checked can be limited according to a specified access.
 * The access parameter must be one of {@link AccessFlags#ACC_PUBLIC ACC_PUBLIC},
 * {@link AccessFlags#ACC_PRIVATE ACC_PRIVATE},
 * {@link AccessFlags#ACC_PROTECTED ACC_PROTECTED}, or 0 for
 * package private access. Members with greater than or equal accessibility
 * to that specified will be searched for dependencies.
 * @param access the access of members to be checked
 * @return an API finder
 */
public static Finder getAPIFinder(int access) {
    return new APIDependencyFinder(access);
}
项目:openjdk9    文件:Dependencies.java   
/**
 * Get a finder to do class dependency analysis.
 *
 * @return a Class dependency finder
 */
public static Finder getClassDependencyFinder() {
    return new ClassDependencyFinder();
}
项目:openjdk9    文件:Dependencies.java   
/**
 * Set the finder used to locate the dependencies for a class.
 * @param f the finder
 */
public void setFinder(Finder f) {
    finder = Objects.requireNonNull(f);
}
项目:lookaside_java-1.8.0-openjdk    文件:Dependencies.java   
/**
 * Get the  default finder used to locate the dependencies for a class.
 * @return the default finder
 */
public static Finder getDefaultFinder() {
    return new APIDependencyFinder(AccessFlags.ACC_PRIVATE);
}
项目:lookaside_java-1.8.0-openjdk    文件:Dependencies.java   
/**
 * Get a finder used to locate the API dependencies for a class.
 * These include the superclass, superinterfaces, and classes referenced in
 * the declarations of fields and methods.  The fields and methods that
 * are checked can be limited according to a specified access.
 * The access parameter must be one of {@link AccessFlags#ACC_PUBLIC ACC_PUBLIC},
 * {@link AccessFlags#ACC_PRIVATE ACC_PRIVATE},
 * {@link AccessFlags#ACC_PROTECTED ACC_PROTECTED}, or 0 for
 * package private access. Members with greater than or equal accessibility
 * to that specified will be searched for dependencies.
 * @param access the access of members to be checked
 * @return an API finder
 */
public static Finder getAPIFinder(int access) {
    return new APIDependencyFinder(access);
}
项目:lookaside_java-1.8.0-openjdk    文件:Dependencies.java   
/**
 * Get a finder to do class dependency analysis.
 *
 * @return a Class dependency finder
 */
public static Finder getClassDependencyFinder() {
    return new ClassDependencyFinder();
}
项目:jsr308-langtools    文件:Dependencies.java   
/**
 * Get the  default finder used to locate the dependencies for a class.
 * @return the default finder
 */
public static Finder getDefaultFinder() {
    return new APIDependencyFinder(AccessFlags.ACC_PRIVATE);
}
项目:jsr308-langtools    文件:Dependencies.java   
/**
 * Get a finder used to locate the API dependencies for a class.
 * These include the superclass, superinterfaces, and classes referenced in
 * the declarations of fields and methods.  The fields and methods that
 * are checked can be limited according to a specified access.
 * The access parameter must be one of {@link AccessFlags#ACC_PUBLIC ACC_PUBLIC},
 * {@link AccessFlags#ACC_PRIVATE ACC_PRIVATE},
 * {@link AccessFlags#ACC_PROTECTED ACC_PROTECTED}, or 0 for
 * package private access. Members with greater than or equal accessibility
 * to that specified will be searched for dependencies.
 * @param access the access of members to be checked
 * @return an API finder
 */
public static Finder getAPIFinder(int access) {
    return new APIDependencyFinder(access);
}