@Override public final int primitiveFieldCount() { return ((LocationImpl) longLocation).primitiveFieldCount(); }
@Override public int primitiveFieldCount() { return ((LocationImpl) primitiveLocation).primitiveFieldCount(); }
@Override public final int primitiveFieldCount() { return ((LocationImpl) longLocation).primitiveFieldCount(); }
@Override public final int primitiveFieldCount() { return ((LocationImpl) longLocation).primitiveFieldCount(); }
private static boolean assertLocationInRange(ShapeImpl shape, Location location) { BasicLayout layout = (BasicLayout) shape.getLayout(); assert (shape.getPrimitiveFieldSize() + ((LocationImpl) location).primitiveFieldCount() <= layout.getPrimitiveFieldCount()); assert (shape.getObjectFieldSize() + ((LocationImpl) location).objectFieldCount() <= layout.getObjectFieldCount()); return true; }
private static boolean assertLocationInRange(ShapeImpl shape, Location location) { BasicLayout layout = (BasicLayout) shape.getLayout(); assert (shape.getPrimitiveFieldSize() + ((LocationImpl) location).primitiveFieldCount() <= layout.getPrimitiveFieldCount()); assert (shape.getObjectFieldSize() + ((LocationImpl) location).objectFieldCount() <= layout.getObjectFieldCount()); return true; }
private static boolean assertLocationInRange(Shape shape, Location location) { BasicLayout layout = (BasicLayout) shape.getLayout(); assert (shape.getPrimitiveFieldSize() + ((LocationImpl) location).primitiveFieldCount() <= layout.getPrimitiveFieldCount()); assert (shape.getObjectFieldSize() + ((LocationImpl) location).objectFieldCount() <= layout.getObjectFieldCount()); return true; }