context.push(field.getType());
}
public void loadStaticField(BytecodeContextMethodASM context, IBytecodeResolvable type, String name) {
IBytecodeField field = type.getField(context.getResolutionPool(), name);
if (field == null) throw new BytecodeException("No such field " + name + " for " + type.getType().getClassName());
context.getTarget().visitFieldInsn(GETSTATIC, type.getType().getName(), name, field.getType().toDescriptorString());
context.push(field.getType());
}