WeaselClass wc = compiler.getWeaselClass("O"+wit.className+";");
WeaselGenericClass wgc = new WeaselGenericClass(wc);
wcr = compileOperator(compiler, compilerHelper, write, wgc, elementParent, isVariable, i-1);
if(wcr.getReturnType().canCastTo(wgc)){
instructions = new WeaselInstructionList();
instructions.add(operator.line, new WeaselInstructionLoadConstBoolean(true));
}else{
if(wcr.getReturnType().getBaseClass().isPrimitive())
throw new WeaselCompilerException(operator.line, "can't use implements for primitives");
instructions = wcr.getInstructions();
instructions.add(operator.line, new WeaselInstructionInstanceof(wc.getByteName()));