Class Java8FunctionWrapper

  • All Implemented Interfaces:
    Assignment, Writable

    public class Java8FunctionWrapper
    extends AssignmentWrapper
    Wraps the assignment in a Function to be used in Java 8 map methods
    Filip Hrisafov
    • Constructor Detail

      • Java8FunctionWrapper

        public Java8FunctionWrapper​(Assignment decoratedAssignment)
      • Java8FunctionWrapper

        public Java8FunctionWrapper​(Assignment decoratedAssignment,
                                    Type functionType)
    • 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.