forked from JavaTX/JavaCompilerCore
--amend
This commit is contained in:
parent
ab86cc3229
commit
672373fc8d
@ -29,14 +29,16 @@ public class RefType extends RefTypeOrTPHOrWildcardOrGeneric
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString(){
|
public String toString(){
|
||||||
String params = "<";
|
String params = "";
|
||||||
Iterator<RefTypeOrTPHOrWildcardOrGeneric> it = parameter.iterator();
|
if(parameter.size()>0){
|
||||||
while(it.hasNext()){
|
Iterator<RefTypeOrTPHOrWildcardOrGeneric> it = parameter.iterator();
|
||||||
RefTypeOrTPHOrWildcardOrGeneric param = it.next();
|
while(it.hasNext()){
|
||||||
params += param.toString();
|
RefTypeOrTPHOrWildcardOrGeneric param = it.next();
|
||||||
if(it.hasNext())params += ", ";
|
params += param.toString();
|
||||||
|
if(it.hasNext())params += ", ";
|
||||||
|
}
|
||||||
|
params += ">";
|
||||||
}
|
}
|
||||||
params += ">";
|
|
||||||
return this.name.toString() + params;
|
return this.name.toString() + params;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user