public void encodePrimitive(OutputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException { longCodec.encodePrimitive(ctx, property.getLong(holder)); } public void decodePrimitive(InputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException {
public void encodePrimitive(OutputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException { longCodec.encodePrimitive(ctx, property.getLong(holder)); } public void decodePrimitive(InputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException {
public void encodePrimitive(OutputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException { longCodec.encodePrimitive(ctx, property.getLong(holder)); } public void decodePrimitive(InputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException {
public void encodePrimitive(OutputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException { longCodec.encodePrimitive(ctx, property.getLong(holder)); } public void decodePrimitive(InputContext ctx, Object holder, Property property) throws IllegalAccessException, IOException, InvocationTargetException {
@Override public long getLong(Object holder) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException { if (ObservableLongValue.class.isAssignableFrom(property.getType())) return ((ObservableLongValue)property.getObject(holder)).get(); return property.getLong(holder); }