Class AbstractPrimitiveValueChanger<T>

java.lang.Object
pl.pojo.tester.internal.field.AbstractFieldValueChanger<T>
pl.pojo.tester.internal.field.primitive.AbstractPrimitiveValueChanger<T>

public abstract class AbstractPrimitiveValueChanger<T> extends AbstractFieldValueChanger<T>
  • Constructor Details

    • AbstractPrimitiveValueChanger

      public AbstractPrimitiveValueChanger()
  • Method Details

    • increaseValue

      protected T increaseValue(T value, Class<?> type)
      Specified by:
      increaseValue in class AbstractFieldValueChanger<T>
    • increase

      protected abstract T increase(T value)
    • nullReplacement

      protected abstract T nullReplacement()
      Value used when a boxed field is null. It must be non-null so the changed instance differs from the one that still holds null.
    • canChange

      protected boolean canChange(Class<?> type)
      Specified by:
      canChange in class AbstractFieldValueChanger<T>