Java Code Examples for com.sun.tools.classfile.Type.ClassSigType

The following examples show how to use com.sun.tools.classfile.Type.ClassSigType. 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: ClassWriter.java    License: GNU General Public License v2.0 5 votes vote down vote up
public StringBuilder visitClassSigType(ClassSigType type, StringBuilder sb) {
    appendIfNotEmpty(sb, "<", type.typeParamTypes, ">");
    if (isInterface) {
        appendIfNotEmpty(sb, " extends ", type.superinterfaceTypes, "");
    } else {
        if (type.superclassType != null
                && (options.verbose || !type.superclassType.isObject())) {
            sb.append(" extends ");
            append(sb, type.superclassType);
        }
        appendIfNotEmpty(sb, " implements ", type.superinterfaceTypes, "");
    }
    return sb;
}
 
Example 2
Source Project: TencentKona-8   Source File: T6888367.java    License: GNU General Public License v2.0 5 votes vote down vote up
public String visitClassSigType(ClassSigType type, Void p) {
    StringBuilder sb = new StringBuilder();
    sb.append("CS{");
    if (type.typeParamTypes != null)
        sb.append(print("<", type.typeParamTypes, ">"));
    sb.append(print(type.superclassType));
    if (type.superinterfaceTypes != null)
        sb.append(print("i(", type.superinterfaceTypes, ")"));
    sb.append("}");
    return sb.toString();
}
 
Example 3
Source Project: jdk8u60   Source File: ClassWriter.java    License: GNU General Public License v2.0 5 votes vote down vote up
public StringBuilder visitClassSigType(ClassSigType type, StringBuilder sb) {
    appendIfNotEmpty(sb, "<", type.typeParamTypes, ">");
    if (isInterface) {
        appendIfNotEmpty(sb, " extends ", type.superinterfaceTypes, "");
    } else {
        if (type.superclassType != null
                && (options.verbose || !type.superclassType.isObject())) {
            sb.append(" extends ");
            append(sb, type.superclassType);
        }
        appendIfNotEmpty(sb, " implements ", type.superinterfaceTypes, "");
    }
    return sb;
}
 
Example 4
Source Project: jdk8u60   Source File: T6888367.java    License: GNU General Public License v2.0 5 votes vote down vote up
public String visitClassSigType(ClassSigType type, Void p) {
    StringBuilder sb = new StringBuilder();
    sb.append("CS{");
    if (type.typeParamTypes != null)
        sb.append(print("<", type.typeParamTypes, ">"));
    sb.append(print(type.superclassType));
    if (type.superinterfaceTypes != null)
        sb.append(print("i(", type.superinterfaceTypes, ")"));
    sb.append("}");
    return sb.toString();
}
 
Example 5
Source Project: openjdk-jdk8u   Source File: ClassWriter.java    License: GNU General Public License v2.0 5 votes vote down vote up
public StringBuilder visitClassSigType(ClassSigType type, StringBuilder sb) {
    appendIfNotEmpty(sb, "<", type.typeParamTypes, ">");
    if (isInterface) {
        appendIfNotEmpty(sb, " extends ", type.superinterfaceTypes, "");
    } else {
        if (type.superclassType != null
                && (options.verbose || !type.superclassType.isObject())) {
            sb.append(" extends ");
            append(sb, type.superclassType);
        }
        appendIfNotEmpty(sb, " implements ", type.superinterfaceTypes, "");
    }
    return sb;
}
 
Example 6
Source Project: openjdk-jdk8u   Source File: T6888367.java    License: GNU General Public License v2.0 5 votes vote down vote up
public String visitClassSigType(ClassSigType type, Void p) {
    StringBuilder sb = new StringBuilder();
    sb.append("CS{");
    if (type.typeParamTypes != null)
        sb.append(print("<", type.typeParamTypes, ">"));
    sb.append(print(type.superclassType));
    if (type.superinterfaceTypes != null)
        sb.append(print("i(", type.superinterfaceTypes, ")"));
    sb.append("}");
    return sb.toString();
}
 
Example 7
public StringBuilder visitClassSigType(ClassSigType type, StringBuilder sb) {
    appendIfNotEmpty(sb, "<", type.typeParamTypes, ">");
    if (isInterface) {
        appendIfNotEmpty(sb, " extends ", type.superinterfaceTypes, "");
    } else {
        if (type.superclassType != null
                && (options.verbose || !type.superclassType.isObject())) {
            sb.append(" extends ");
            append(sb, type.superclassType);
        }
        appendIfNotEmpty(sb, " implements ", type.superinterfaceTypes, "");
    }
    return sb;
}
 
Example 8
public String visitClassSigType(ClassSigType type, Void p) {
    StringBuilder sb = new StringBuilder();
    sb.append("CS{");
    if (type.typeParamTypes != null)
        sb.append(print("<", type.typeParamTypes, ">"));
    sb.append(print(type.superclassType));
    if (type.superinterfaceTypes != null)
        sb.append(print("i(", type.superinterfaceTypes, ")"));
    sb.append("}");
    return sb.toString();
}
 
Example 9
Source Project: openjdk-jdk9   Source File: ClassWriter.java    License: GNU General Public License v2.0 5 votes vote down vote up
@Override
public StringBuilder visitClassSigType(ClassSigType type, StringBuilder sb) {
    appendIfNotEmpty(sb, "<", type.typeParamTypes, ">");
    if (isInterface) {
        appendIfNotEmpty(sb, " extends ", type.superinterfaceTypes, "");
    } else {
        if (type.superclassType != null
                && (options.verbose || !type.superclassType.isObject())) {
            sb.append(" extends ");
            append(sb, type.superclassType);
        }
        appendIfNotEmpty(sb, " implements ", type.superinterfaceTypes, "");
    }
    return sb;
}
 
Example 10
Source Project: openjdk-jdk9   Source File: T6888367.java    License: GNU General Public License v2.0 5 votes vote down vote up
public String visitClassSigType(ClassSigType type, Void p) {
    StringBuilder sb = new StringBuilder();
    sb.append("CS{");
    if (type.typeParamTypes != null)
        sb.append(print("<", type.typeParamTypes, ">"));
    sb.append(print(type.superclassType));
    if (type.superinterfaceTypes != null)
        sb.append(print("i(", type.superinterfaceTypes, ")"));
    sb.append("}");
    return sb.toString();
}
 
Example 11
Source Project: hottub   Source File: ClassWriter.java    License: GNU General Public License v2.0 5 votes vote down vote up
public StringBuilder visitClassSigType(ClassSigType type, StringBuilder sb) {
    appendIfNotEmpty(sb, "<", type.typeParamTypes, ">");
    if (isInterface) {
        appendIfNotEmpty(sb, " extends ", type.superinterfaceTypes, "");
    } else {
        if (type.superclassType != null
                && (options.verbose || !type.superclassType.isObject())) {
            sb.append(" extends ");
            append(sb, type.superclassType);
        }
        appendIfNotEmpty(sb, " implements ", type.superinterfaceTypes, "");
    }
    return sb;
}
 
Example 12
Source Project: hottub   Source File: T6888367.java    License: GNU General Public License v2.0 5 votes vote down vote up
public String visitClassSigType(ClassSigType type, Void p) {
    StringBuilder sb = new StringBuilder();
    sb.append("CS{");
    if (type.typeParamTypes != null)
        sb.append(print("<", type.typeParamTypes, ">"));
    sb.append(print(type.superclassType));
    if (type.superinterfaceTypes != null)
        sb.append(print("i(", type.superinterfaceTypes, ")"));
    sb.append("}");
    return sb.toString();
}
 
Example 13
Source Project: openjdk-8-source   Source File: ClassWriter.java    License: GNU General Public License v2.0 5 votes vote down vote up
public StringBuilder visitClassSigType(ClassSigType type, StringBuilder sb) {
    appendIfNotEmpty(sb, "<", type.typeParamTypes, ">");
    if (isInterface) {
        appendIfNotEmpty(sb, " extends ", type.superinterfaceTypes, "");
    } else {
        if (type.superclassType != null
                && (options.verbose || !type.superclassType.isObject())) {
            sb.append(" extends ");
            append(sb, type.superclassType);
        }
        appendIfNotEmpty(sb, " implements ", type.superinterfaceTypes, "");
    }
    return sb;
}
 
Example 14
Source Project: openjdk-8-source   Source File: T6888367.java    License: GNU General Public License v2.0 5 votes vote down vote up
public String visitClassSigType(ClassSigType type, Void p) {
    StringBuilder sb = new StringBuilder();
    sb.append("CS{");
    if (type.typeParamTypes != null)
        sb.append(print("<", type.typeParamTypes, ">"));
    sb.append(print(type.superclassType));
    if (type.superinterfaceTypes != null)
        sb.append(print("i(", type.superinterfaceTypes, ")"));
    sb.append("}");
    return sb.toString();
}
 
Example 15
Source Project: openjdk-8   Source File: ClassWriter.java    License: GNU General Public License v2.0 5 votes vote down vote up
public StringBuilder visitClassSigType(ClassSigType type, StringBuilder sb) {
    appendIfNotEmpty(sb, "<", type.typeParamTypes, ">");
    if (isInterface) {
        appendIfNotEmpty(sb, " extends ", type.superinterfaceTypes, "");
    } else {
        if (type.superclassType != null
                && (options.verbose || !type.superclassType.isObject())) {
            sb.append(" extends ");
            append(sb, type.superclassType);
        }
        appendIfNotEmpty(sb, " implements ", type.superinterfaceTypes, "");
    }
    return sb;
}
 
Example 16
Source Project: openjdk-8   Source File: T6888367.java    License: GNU General Public License v2.0 5 votes vote down vote up
public String visitClassSigType(ClassSigType type, Void p) {
    StringBuilder sb = new StringBuilder();
    sb.append("CS{");
    if (type.typeParamTypes != null)
        sb.append(print("<", type.typeParamTypes, ">"));
    sb.append(print(type.superclassType));
    if (type.superinterfaceTypes != null)
        sb.append(print("i(", type.superinterfaceTypes, ")"));
    sb.append("}");
    return sb.toString();
}
 
Example 17
Source Project: TencentKona-8   Source File: Dependencies.java    License: GNU General Public License v2.0 4 votes vote down vote up
public Void visitClassSigType(ClassSigType type, Void p) {
    findDependencies(type.superclassType);
    findDependencies(type.superinterfaceTypes);
    return null;
}
 
Example 18
Source Project: jdk8u60   Source File: Dependencies.java    License: GNU General Public License v2.0 4 votes vote down vote up
public Void visitClassSigType(ClassSigType type, Void p) {
    findDependencies(type.superclassType);
    findDependencies(type.superinterfaceTypes);
    return null;
}
 
Example 19
Source Project: openjdk-jdk8u   Source File: Dependencies.java    License: GNU General Public License v2.0 4 votes vote down vote up
public Void visitClassSigType(ClassSigType type, Void p) {
    findDependencies(type.superclassType);
    findDependencies(type.superinterfaceTypes);
    return null;
}
 
Example 20
public Void visitClassSigType(ClassSigType type, Void p) {
    findDependencies(type.superclassType);
    findDependencies(type.superinterfaceTypes);
    return null;
}
 
Example 21
Source Project: openjdk-jdk9   Source File: Dependencies.java    License: GNU General Public License v2.0 4 votes vote down vote up
public Void visitClassSigType(ClassSigType type, Void p) {
    findDependencies(type.superclassType);
    findDependencies(type.superinterfaceTypes);
    return null;
}
 
Example 22
Source Project: hottub   Source File: Dependencies.java    License: GNU General Public License v2.0 4 votes vote down vote up
public Void visitClassSigType(ClassSigType type, Void p) {
    findDependencies(type.superclassType);
    findDependencies(type.superinterfaceTypes);
    return null;
}
 
Example 23
public Void visitClassSigType(ClassSigType type, Void p) {
    findDependencies(type.superclassType);
    findDependencies(type.superinterfaceTypes);
    return null;
}
 
Example 24
Source Project: openjdk-8   Source File: Dependencies.java    License: GNU General Public License v2.0 4 votes vote down vote up
public Void visitClassSigType(ClassSigType type, Void p) {
    findDependencies(type.superclassType);
    findDependencies(type.superinterfaceTypes);
    return null;
}