Class ArrayCopyWrapper

  • All Implemented Interfaces:
    Assignment, Writable

    public class ArrayCopyWrapper
    extends AssignmentWrapper
    Decorates the assignment as a Map or Collection constructor
    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
        getImportTypes in class AssignmentWrapper
        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()