Class GeneratorResult


  • public final class GeneratorResult
    extends Object
    • Method Detail

      • nullResult

        public static GeneratorResult nullResult()
        This result indicates that a null was generated, therefore the target's value should be set to null. If the target is a field with a pre-initialised default value, it will be overwritten with a null value.

        An actual null GeneratorResult means that the target field will be ignored (it would retain its default value, if any).

        Returns:
        null result
      • getValue

        public Object getValue()
      • ignoreChildren

        public boolean ignoreChildren()