Naming consistency.
This commit is contained in:
@@ -37,8 +37,8 @@ public final class ByteBufferFlashMemoryVMDevice extends IdentityProxy<ItemStack
|
||||
|
||||
///////////////////////////////////////////////////////////////
|
||||
|
||||
public ByteBufferFlashMemoryVMDevice(final ItemStack value, final int size) {
|
||||
super(value);
|
||||
public ByteBufferFlashMemoryVMDevice(final ItemStack identity, final int size) {
|
||||
super(identity);
|
||||
this.size = size;
|
||||
}
|
||||
|
||||
|
||||
@@ -13,8 +13,8 @@ public final class FirmwareFlashMemoryVMDevice extends IdentityProxy<ItemStack>
|
||||
|
||||
///////////////////////////////////////////////////////////////
|
||||
|
||||
public FirmwareFlashMemoryVMDevice(final ItemStack stack, final Firmware firmware) {
|
||||
super(stack);
|
||||
public FirmwareFlashMemoryVMDevice(final ItemStack identity, final Firmware firmware) {
|
||||
super(identity);
|
||||
this.firmware = firmware;
|
||||
}
|
||||
|
||||
|
||||
@@ -13,8 +13,8 @@ public final class HardDriveVMDevice extends AbstractHardDriveVMDevice<ByteBuffe
|
||||
|
||||
///////////////////////////////////////////////////////////////////
|
||||
|
||||
public HardDriveVMDevice(final ItemStack stack, final int size, final boolean readonly) {
|
||||
super(stack);
|
||||
public HardDriveVMDevice(final ItemStack identity, final int size, final boolean readonly) {
|
||||
super(identity);
|
||||
this.size = size;
|
||||
this.readonly = readonly;
|
||||
}
|
||||
|
||||
@@ -47,8 +47,8 @@ public final class RedstoneInterfaceCardItemDevice extends IdentityProxy<ItemSta
|
||||
|
||||
///////////////////////////////////////////////////////////////////
|
||||
|
||||
public RedstoneInterfaceCardItemDevice(final ItemStack value, final TileEntity tileEntity) {
|
||||
super(value);
|
||||
public RedstoneInterfaceCardItemDevice(final ItemStack identity, final TileEntity tileEntity) {
|
||||
super(identity);
|
||||
this.tileEntity = tileEntity;
|
||||
this.device = new ObjectDevice(this, "redstone");
|
||||
|
||||
|
||||
@@ -19,8 +19,8 @@ public final class SparseHardDriveVMDevice extends AbstractHardDriveVMDevice<Spa
|
||||
|
||||
///////////////////////////////////////////////////////////////////
|
||||
|
||||
public SparseHardDriveVMDevice(final ItemStack stack, final BlockDevice base, final boolean readonly) {
|
||||
super(stack);
|
||||
public SparseHardDriveVMDevice(final ItemStack identity, final BlockDevice base, final boolean readonly) {
|
||||
super(identity);
|
||||
this.base = base;
|
||||
this.readonly = readonly;
|
||||
}
|
||||
|
||||
@@ -26,8 +26,8 @@ public final class EnergyStorageBlockDeviceProvider extends AbstractTileEntityCa
|
||||
///////////////////////////////////////////////////////////////////
|
||||
|
||||
public static final class EnergyStorageDevice extends IdentityProxy<IEnergyStorage> {
|
||||
public EnergyStorageDevice(final IEnergyStorage energyStorage) {
|
||||
super(energyStorage);
|
||||
public EnergyStorageDevice(final IEnergyStorage identity) {
|
||||
super(identity);
|
||||
}
|
||||
|
||||
@Callback
|
||||
|
||||
@@ -27,8 +27,8 @@ public final class FluidHandlerBlockDeviceProvider extends AbstractTileEntityCap
|
||||
///////////////////////////////////////////////////////////////////
|
||||
|
||||
public static final class FluidHandlerDevice extends IdentityProxy<IFluidHandler> {
|
||||
public FluidHandlerDevice(final IFluidHandler fluidHandler) {
|
||||
super(fluidHandler);
|
||||
public FluidHandlerDevice(final IFluidHandler identity) {
|
||||
super(identity);
|
||||
}
|
||||
|
||||
@Callback
|
||||
|
||||
@@ -27,8 +27,8 @@ public final class ItemHandlerBlockDeviceProvider extends AbstractTileEntityCapa
|
||||
///////////////////////////////////////////////////////////////////
|
||||
|
||||
public static final class ItemHandlerDevice extends IdentityProxy<IItemHandler> {
|
||||
public ItemHandlerDevice(final IItemHandler itemHandler) {
|
||||
super(itemHandler);
|
||||
public ItemHandlerDevice(final IItemHandler identity) {
|
||||
super(identity);
|
||||
}
|
||||
|
||||
@Callback
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
@ParametersAreNonnullByDefault
|
||||
@MethodsReturnNonnullByDefault
|
||||
package li.cil.oc2.common.bus.device.provider;
|
||||
|
||||
import mcp.MethodsReturnNonnullByDefault;
|
||||
|
||||
import javax.annotation.ParametersAreNonnullByDefault;
|
||||
Reference in New Issue
Block a user