Class ImmutableTrees.LetEnd

java.lang.Object
org.immutables.generator.processor.ImmutableTrees.LetEnd
All Implemented Interfaces:
Trees.Directive, Trees.DirectiveEnd, Trees.LetEnd, Trees.TemplatePart
Enclosing class:
ImmutableTrees

@Immutable public static final class ImmutableTrees.LetEnd extends Object implements Trees.LetEnd
Immutable implementation of Trees.LetEnd.

Use the static factory method to get the default singleton instance: ImmutableTrees.LetEnd.of().

  • Field Details

  • Constructor Details

    • LetEnd

      private LetEnd()
  • Method Details

    • equals

      public boolean equals(@Nullable Object another)
      This instance is equal to all instances of LetEnd that have equal attribute values. As instances of the LetEnd class are interned, the equals method is implemented as an efficient reference equality check.
      Overrides:
      equals in class Object
      Returns:
      true if this is equal to another instance
    • hashCode

      public int hashCode()
      Returns a constant hash code value.
      Overrides:
      hashCode in class Object
      Returns:
      hashCode value
    • toString

      public String toString()
      Prints the immutable value LetEnd.
      Overrides:
      toString in class Object
      Returns:
      A string representation of the value
    • of

      public static ImmutableTrees.LetEnd of()
      Returns the default immutable singleton value of LetEnd
      Returns:
      An immutable instance of LetEnd