Class ArrayCopyWrapper

  • All Implemented Interfaces:
    Assignment, Writable

    public class ArrayCopyWrapper
    extends AssignmentWrapper
    Decorates the assignment as a Map or Collection constructor
    Author:
    Sjaak Derksen
    • Constructor Detail

      • ArrayCopyWrapper

        public ArrayCopyWrapper​(Assignment rhs,
                                String targetPropertyName,
                                Type arraysType,
                                Type targetType,
                                boolean fieldAssignment,
                                boolean setExplicitlyToNull,
                                boolean setExplicitlyToDefault)
    • Method Detail

      • getImportTypes

        public 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.
      • isIncludeSourceNullCheck

        public boolean isIncludeSourceNullCheck()
      • isSetExplicitlyToNull

        public boolean isSetExplicitlyToNull()
      • isSetExplicitlyToDefault

        public boolean isSetExplicitlyToDefault()