Class StreamAdderWrapper

All Implemented Interfaces:
Assignment, Writable

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

    • StreamAdderWrapper

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

    • getThrownTypes

      public List<Type> getThrownTypes()
      Description copied from interface: Assignment
      returns all types exception types thrown by this assignment.
      Specified by:
      getThrownTypes in interface Assignment
      Overrides:
      getThrownTypes in class AssignmentWrapper
      Returns:
      exceptions thrown
    • 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.