public StringBuilder visitClassType(ClassType type, StringBuilder sb) { if (type.outerType != null) { append(sb, type.outerType); sb.append("."); } sb.append(getJavaName(type.name)); appendIfNotEmpty(sb, "<", type.typeArgs, ">"); return sb; }
@Override public StringBuilder visitClassType(ClassType type, StringBuilder sb) { if (type.outerType != null) { append(sb, type.outerType); sb.append("."); } sb.append(getJavaName(type.name)); appendIfNotEmpty(sb, "<", type.typeArgs, ">"); return sb; }
public String visitClassType(ClassType type, Void p) { StringBuilder sb = new StringBuilder(); sb.append("C{"); if (type.outerType != null) { sb.append(print(type.outerType)); sb.append("."); } sb.append(type.name); if (type.typeArgs != null) sb.append(print("<", type.typeArgs, ">")); sb.append("}"); return sb.toString(); }
public Void visitClassType(ClassType type, Void p) { findDependencies(type.outerType); addDependency(type.getBinaryName()); findDependencies(type.typeArgs); return null; }
public Void visitClassType(ClassType type, Void p) { findDependencies(type.outerType); addDependency(type.name); findDependencies(type.typeArgs); return null; }