Class UpdateWrapper

    • Field Detail

      • thrownTypesToExclude

        private final java.util.List<Type> thrownTypesToExclude
      • factoryMethod

        private final Assignment factoryMethod
      • targetImplementationType

        private final Type targetImplementationType
      • includeSourceNullCheck

        private final boolean includeSourceNullCheck
      • setExplicitlyToNull

        private final boolean setExplicitlyToNull
      • setExplicitlyToDefault

        private final boolean setExplicitlyToDefault
    • Constructor Detail

      • UpdateWrapper

        public UpdateWrapper​(Assignment decoratedAssignment,
                             java.util.List<Type> thrownTypesToExclude,
                             Assignment factoryMethod,
                             boolean fieldAssignment,
                             Type targetType,
                             boolean includeSourceNullCheck,
                             boolean setExplicitlyToNull,
                             boolean setExplicitlyToDefault)
    • Method Detail

      • determineImplType

        private static Type determineImplType​(Assignment factoryMethod,
                                              Type targetType)
      • getImportTypes

        public java.util.Set<Type> getImportTypes()
        Description copied from class: ModelElement
        Returns a set containing those Types referenced by this model element for which an import statement needs to be declared.
        Specified by:
        getImportTypes in interface Assignment
        Overrides:
        getImportTypes in class AssignmentWrapper
        Returns:
        A set with type referenced by this model element. Must not be null.
      • getFactoryMethod

        public Assignment getFactoryMethod()
      • isIncludeSourceNullCheck

        public boolean isIncludeSourceNullCheck()
      • isSetExplicitlyToNull

        public boolean isSetExplicitlyToNull()
      • isSetExplicitlyToDefault

        public boolean isSetExplicitlyToDefault()