Class OptionalGetWrapper

All Implemented Interfaces:
Assignment, Writable

public class OptionalGetWrapper extends AssignmentWrapper
Decorates the assignment as an Optional.get() call.
Author:
Filip Hrisafov
  • Constructor Details

    • OptionalGetWrapper

      public OptionalGetWrapper(Assignment decoratedAssignment, Type optionalType)
  • Method Details

    • getOptionalType

      public Type getOptionalType()
    • toString

      public String toString()
      Overrides:
      toString in class Object