}
public static void main(String[] args) throws WeaselCompilerException {
//System.out.println(tokenList);
WeaselCompiler compiler = new WeaselCompiler();
try{
compiler.compile(new Test());
System.out.println(compiler.getWeaselClass("OBoolean;").toSource());
WeaselGenericClass wgc = new WeaselGenericClass(compiler.getWeaselClass("OBoolean;"), new WeaselGenericClass[0]);
System.out.println(wgc);
wgc = wgc.getGenericSuperClass();
System.out.println(wgc);
System.out.println(wgc.getGenericMethod("operator<=>(OEnum;)I", new WeaselGenericClass[0]));
}catch(Throwable e){
e.printStackTrace();
}
for(WeaselCompilerMessage e:compiler.getExceptions()){
System.err.println(e);
}
}