forked from JavaTX/JavaCompilerCore
Fehler in ASTFactory beheben. GenericRefType statt RefType in den Parameterlisten
This commit is contained in:
parent
0610ea8e63
commit
ede55d228e
@ -48,7 +48,7 @@ public class ASTFactory {
|
||||
if(superjreClass != null){
|
||||
List<RefTypeOrTPHOrWildcardOrGeneric> params = new ArrayList<>();
|
||||
for(TypeVariable tv : superjreClass.getTypeParameters()){
|
||||
params.add(new RefType(new GenericTypeName(new GenericContext( name, null),tv.getName()), new NullToken()));
|
||||
params.add(new GenericRefType(new GenericTypeName(new GenericContext( name, null),tv.getName()), new NullToken()));
|
||||
}
|
||||
superClass = new RefType(new JavaClassName(superjreClass.getName()), params, new NullToken());
|
||||
}else{//Jede Klasse und jedes Interface erbt von Object: (auch Object selbst!)
|
||||
|
Loading…
Reference in New Issue
Block a user