@Override public String getName() { String name = _rawType.getName() + "<"; for (int i = 0; i < _args.length; i++) { IJavaClassType type = _args[i]; name += type.getName(); if (i < _args.length - 1) { name += ","; } } name += ">"; return name; }
@Override public String getReturnTypeName() { IJavaClassType type = getGenericReturnType(); if (type instanceof JavaArrayClassInfo) { return "[" + ((JavaArrayClassInfo) type).getComponentType().getNameSignature(); } else { return type.getName(); } }
public String toString() { String s = _rawType.getName() + "<"; for (int i = 0; i < _args.length; i++) { s += _args[i].getName(); if (i != _args.length - 1) { s += ", "; } } return s + ">"; }