Java Code Examples for com.sun.tools.jdeps.PlatformClassPath.JDKArchive#isProfileArchive()

The following examples show how to use com.sun.tools.jdeps.PlatformClassPath.JDKArchive#isProfileArchive() . 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: JdepsTask.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
@Override
public void visitDependence(String origin, Archive originArchive,
                            String target, Archive targetArchive) {
    writer.format("%s -> %s", originArchive.getName(), targetArchive.getPathName());
    if (options.showProfile && JDKArchive.isProfileArchive(targetArchive)) {
        writer.format(" (%s)", target);
    }
    writer.format("%n");
}
 
Example 2
Source File: JdepsTask.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
@Override
public void visitDependence(String origin, Archive originArchive,
                            String target, Archive targetArchive) {
    String targetName = type == PACKAGE ? target : targetArchive.getName();
    if (type == PACKAGE) {
        String tag = toTag(target, targetArchive, type);
        if (!tag.isEmpty())
            targetName += " (" + tag + ")";
    } else if (options.showProfile && JDKArchive.isProfileArchive(targetArchive)) {
        targetName += " (" + target + ")";
    }
    String label = getLabel(originArchive, targetArchive);
    writer.format("  %-50s -> \"%s\"%s;%n",
                  String.format("\"%s\"", origin), targetName, label);
}
 
Example 3
Source File: JdepsTask.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
@Override
public void visitDependence(String origin, Archive originArchive,
                            String target, Archive targetArchive) {
    writer.format("%s -> %s", originArchive.getName(), targetArchive.getPathName());
    if (options.showProfile && JDKArchive.isProfileArchive(targetArchive)) {
        writer.format(" (%s)", target);
    }
    writer.format("%n");
}
 
Example 4
Source File: JdepsTask.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
@Override
public void visitDependence(String origin, Archive originArchive,
                            String target, Archive targetArchive) {
    String targetName = type == PACKAGE ? target : targetArchive.getName();
    if (type == PACKAGE) {
        String tag = toTag(target, targetArchive, type);
        if (!tag.isEmpty())
            targetName += " (" + tag + ")";
    } else if (options.showProfile && JDKArchive.isProfileArchive(targetArchive)) {
        targetName += " (" + target + ")";
    }
    String label = getLabel(originArchive, targetArchive);
    writer.format("  %-50s -> \"%s\"%s;%n",
                  String.format("\"%s\"", origin), targetName, label);
}
 
Example 5
Source File: JdepsTask.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
@Override
public void visitDependence(String origin, Archive originArchive,
                            String target, Archive targetArchive) {
    writer.format("%s -> %s", originArchive.getName(), targetArchive.getPathName());
    if (options.showProfile && JDKArchive.isProfileArchive(targetArchive)) {
        writer.format(" (%s)", target);
    }
    writer.format("%n");
}
 
Example 6
Source File: JdepsTask.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
@Override
public void visitDependence(String origin, Archive originArchive,
                            String target, Archive targetArchive) {
    String targetName = type == PACKAGE ? target : targetArchive.getName();
    if (type == PACKAGE) {
        String tag = toTag(target, targetArchive, type);
        if (!tag.isEmpty())
            targetName += " (" + tag + ")";
    } else if (options.showProfile && JDKArchive.isProfileArchive(targetArchive)) {
        targetName += " (" + target + ")";
    }
    String label = getLabel(originArchive, targetArchive);
    writer.format("  %-50s -> \"%s\"%s;%n",
                  String.format("\"%s\"", origin), targetName, label);
}
 
Example 7
Source File: JdepsTask.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
@Override
public void visitDependence(String origin, Archive originArchive,
                            String target, Archive targetArchive) {
    writer.format("%s -> %s", originArchive.getName(), targetArchive.getPathName());
    if (options.showProfile && JDKArchive.isProfileArchive(targetArchive)) {
        writer.format(" (%s)", target);
    }
    writer.format("%n");
}
 
Example 8
Source File: JdepsTask.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
@Override
public void visitDependence(String origin, Archive originArchive,
                            String target, Archive targetArchive) {
    String targetName = type == PACKAGE ? target : targetArchive.getName();
    if (type == PACKAGE) {
        String tag = toTag(target, targetArchive, type);
        if (!tag.isEmpty())
            targetName += " (" + tag + ")";
    } else if (options.showProfile && JDKArchive.isProfileArchive(targetArchive)) {
        targetName += " (" + target + ")";
    }
    String label = getLabel(originArchive, targetArchive);
    writer.format("  %-50s -> \"%s\"%s;%n",
                  String.format("\"%s\"", origin), targetName, label);
}
 
Example 9
Source File: JdepsTask.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
@Override
public void visitDependence(String origin, Archive originArchive,
                            String target, Archive targetArchive) {
    writer.format("%s -> %s", originArchive.getName(), targetArchive.getPathName());
    if (options.showProfile && JDKArchive.isProfileArchive(targetArchive)) {
        writer.format(" (%s)", target);
    }
    writer.format("%n");
}
 
Example 10
Source File: JdepsTask.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
@Override
public void visitDependence(String origin, Archive originArchive,
                            String target, Archive targetArchive) {
    String targetName = type == PACKAGE ? target : targetArchive.getName();
    if (type == PACKAGE) {
        String tag = toTag(target, targetArchive, type);
        if (!tag.isEmpty())
            targetName += " (" + tag + ")";
    } else if (options.showProfile && JDKArchive.isProfileArchive(targetArchive)) {
        targetName += " (" + target + ")";
    }
    String label = getLabel(originArchive, targetArchive);
    writer.format("  %-50s -> \"%s\"%s;%n",
                  String.format("\"%s\"", origin), targetName, label);
}
 
Example 11
Source File: Analyzer.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
Profile getTargetProfile(Archive target) {
    return JDKArchive.isProfileArchive(target) ? profile : null;
}
 
Example 12
Source File: Analyzer.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
Profile getTargetProfile(Archive target) {
    return JDKArchive.isProfileArchive(target) ? profile : null;
}
 
Example 13
Source File: Analyzer.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
Profile getTargetProfile(Archive target) {
    return JDKArchive.isProfileArchive(target) ? profile : null;
}
 
Example 14
Source File: Analyzer.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
Profile getTargetProfile(Archive target) {
    return JDKArchive.isProfileArchive(target) ? profile : null;
}
 
Example 15
Source File: Analyzer.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
Profile getTargetProfile(Archive target) {
    return JDKArchive.isProfileArchive(target) ? profile : null;
}