}else if(constant instanceof Byte){
returnType = new WeaselGenericClass(compiler.baseTypes.byteClass);
instructionList.add(line, new WeaselInstructionLoadConstByte((Byte)constant));
}else if(constant instanceof Short){
returnType = new WeaselGenericClass(compiler.baseTypes.shortClass);
instructionList.add(line, new WeaselInstructionLoadConstShort((Short)constant));
}else if(constant instanceof Integer){
returnType = new WeaselGenericClass(compiler.baseTypes.intClass);
instructionList.add(line, new WeaselInstructionLoadConstInteger((Integer)constant));
}else if(constant instanceof Long){
returnType = new WeaselGenericClass(compiler.baseTypes.longClass);