forked from JavaTX/JavaCompilerCore
JavaClassName nur in der Regestry erstellen
This commit is contained in:
parent
2cdca93077
commit
d9cc613600
@ -132,7 +132,8 @@ public class SyntaxTreeGenerator{
|
||||
String typeName = convertTypeName(ctx.typeName());
|
||||
String packageName = getPackageFromClass(typeName);
|
||||
List<JavaClassName> classes = PackageCrawler.getClassNames(packageName);
|
||||
JavaClassName ret = new JavaClassName(typeName);
|
||||
reg.add(typeName);
|
||||
JavaClassName ret = reg.getName(typeName);
|
||||
if(classes.contains(ret)){
|
||||
return ret;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user