com.sun.tools.classfile.Dependency.Finder Java Examples

The following examples show how to use com.sun.tools.classfile.Dependency.Finder. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: Dependencies.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * 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;
}
 
Example #2
Source File: Dependencies.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Get the finder used to locate the dependencies for a class.
 * @return the finder
 */
public Finder getFinder() {
    if (finder == null)
        finder = getDefaultFinder();
    return finder;
}
 
Example #3
Source File: Dependencies.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
/**
 * 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;
}
 
Example #4
Source File: Dependencies.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
/**
 * 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;
}
 
Example #5
Source File: Dependencies.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Get the finder used to locate the dependencies for a class.
 * @return the finder
 */
public Finder getFinder() {
    if (finder == null)
        finder = getDefaultFinder();
    return finder;
}
 
Example #6
Source File: Dependencies.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
/**
 * 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;
}
 
Example #7
Source File: Dependencies.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Get the finder used to locate the dependencies for a class.
 * @return the finder
 */
public Finder getFinder() {
    if (finder == null)
        finder = getDefaultFinder();
    return finder;
}
 
Example #8
Source File: Dependencies.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Get the finder used to locate the dependencies for a class.
 * @return the finder
 */
public Finder getFinder() {
    if (finder == null)
        finder = getDefaultFinder();
    return finder;
}
 
Example #9
Source File: Dependencies.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
/**
 * 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;
}
 
Example #10
Source File: Dependencies.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Get the finder used to locate the dependencies for a class.
 * @return the finder
 */
public Finder getFinder() {
    if (finder == null)
        finder = getDefaultFinder();
    return finder;
}
 
Example #11
Source File: Dependencies.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Get the finder used to locate the dependencies for a class.
 * @return the finder
 */
public Finder getFinder() {
    if (finder == null)
        finder = getDefaultFinder();
    return finder;
}
 
Example #12
Source File: Dependencies.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * 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;
}
 
Example #13
Source File: Dependencies.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Get the finder used to locate the dependencies for a class.
 * @return the finder
 */
public Finder getFinder() {
    if (finder == null)
        finder = getDefaultFinder();
    return finder;
}
 
Example #14
Source File: Dependencies.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Get the finder used to locate the dependencies for a class.
 * @return the finder
 */
public Finder getFinder() {
    if (finder == null)
        finder = getDefaultFinder();
    return finder;
}
 
Example #15
Source File: Dependencies.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * 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;
}
 
Example #16
Source File: Dependencies.java    From hottub with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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);
}
 
Example #17
Source File: Dependencies.java    From hottub with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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);
}
 
Example #18
Source File: Dependencies.java    From hottub with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Get a finder to do class dependency analysis.
 *
 * @return a Class dependency finder
 */
public static Finder getClassDependencyFinder() {
    return new ClassDependencyFinder();
}
 
Example #19
Source File: Dependencies.java    From openjdk-jdk9 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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);
}
 
Example #20
Source File: Dependencies.java    From openjdk-8-source with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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);
}
 
Example #21
Source File: Dependencies.java    From openjdk-8-source with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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);
}
 
Example #22
Source File: Dependencies.java    From openjdk-8-source with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Get a finder to do class dependency analysis.
 *
 * @return a Class dependency finder
 */
public static Finder getClassDependencyFinder() {
    return new ClassDependencyFinder();
}
 
Example #23
Source File: Dependencies.java    From openjdk-8 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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);
}
 
Example #24
Source File: Dependencies.java    From openjdk-8 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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);
}
 
Example #25
Source File: Dependencies.java    From openjdk-8 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Get a finder to do class dependency analysis.
 *
 * @return a Class dependency finder
 */
public static Finder getClassDependencyFinder() {
    return new ClassDependencyFinder();
}
 
Example #26
Source File: Dependencies.java    From openjdk-jdk9 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Set the finder used to locate the dependencies for a class.
 * @param f the finder
 */
public void setFinder(Finder f) {
    finder = Objects.requireNonNull(f);
}
 
Example #27
Source File: Dependencies.java    From openjdk-jdk9 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Get a finder to do class dependency analysis.
 *
 * @return a Class dependency finder
 */
public static Finder getClassDependencyFinder() {
    return new ClassDependencyFinder();
}
 
Example #28
Source File: Dependencies.java    From openjdk-jdk9 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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);
}
 
Example #29
Source File: Dependencies.java    From TencentKona-8 with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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);
}
 
Example #30
Source File: Dependencies.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Get a finder to do class dependency analysis.
 *
 * @return a Class dependency finder
 */
public static Finder getClassDependencyFinder() {
    return new ClassDependencyFinder();
}