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