Class StreamAdderWrapper

  • All Implemented Interfaces:
    Assignment, Writable

    public class StreamAdderWrapper
    extends AssignmentWrapper
    Wraps the assignment in a target setter.
    Author:
    Sebastian Haberey
    • Constructor Detail

      • StreamAdderWrapper

        public StreamAdderWrapper​(Assignment rhs,
                                  List<Type> thrownTypesToExclude,
                                  boolean fieldAssignment,
                                  String targetPropertyName)
    • Method Detail

      • getAdderType

        public Type getAdderType()
      • isIncludeSourceNullCheck

        public boolean isIncludeSourceNullCheck()
      • isSetExplicitlyToNull

        public boolean isSetExplicitlyToNull()
      • isSetExplicitlyToDefault

        public boolean isSetExplicitlyToDefault()
      • 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.