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

The following examples show how to use com.sun.tools.classfile.Dependency.Finder. These examples are extracted from open source projects. 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 Project: TencentKona-8   Source File: Dependencies.java    License: 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 2
Source Project: TencentKona-8   Source File: Dependencies.java    License: 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 3
Source Project: jdk8u60   Source File: Dependencies.java    License: 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 4
Source Project: jdk8u60   Source File: Dependencies.java    License: 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 Project: openjdk-jdk8u   Source File: Dependencies.java    License: 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 Project: openjdk-jdk8u   Source File: Dependencies.java    License: 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
/**
 * 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
/**
 * 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 9
Source Project: openjdk-jdk9   Source File: Dependencies.java    License: 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 10
Source Project: hottub   Source File: Dependencies.java    License: 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 Project: hottub   Source File: Dependencies.java    License: 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 12
/**
 * 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 13
/**
 * 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 14
Source Project: openjdk-8   Source File: Dependencies.java    License: 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 Project: openjdk-8   Source File: Dependencies.java    License: 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 Project: TencentKona-8   Source File: Dependencies.java    License: 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 Project: TencentKona-8   Source File: Dependencies.java    License: 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 Project: TencentKona-8   Source File: Dependencies.java    License: 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 Project: jdk8u60   Source File: Dependencies.java    License: 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 Project: jdk8u60   Source File: Dependencies.java    License: 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 21
Source Project: jdk8u60   Source File: Dependencies.java    License: 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 22
Source Project: openjdk-jdk8u   Source File: Dependencies.java    License: 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 23
Source Project: openjdk-jdk8u   Source File: Dependencies.java    License: 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 24
Source Project: openjdk-jdk8u   Source File: Dependencies.java    License: 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 25
/**
 * 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 26
/**
 * 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 27
/**
 * Get a finder to do class dependency analysis.
 *
 * @return a Class dependency finder
 */
public static Finder getClassDependencyFinder() {
    return new ClassDependencyFinder();
}
 
Example 28
Source Project: openjdk-jdk9   Source File: Dependencies.java    License: 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 29
Source Project: openjdk-jdk9   Source File: Dependencies.java    License: 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 30
Source Project: openjdk-jdk9   Source File: Dependencies.java    License: 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();
}