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; }
@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; }
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(); }
public Void visitClassSigType(ClassSigType type, Void p) { findDependencies(type.superclassType); findDependencies(type.superinterfaceTypes); return null; }