Interface CtConstructor<T>

    • Method Detail

      • isCompactConstructor

        boolean isCompactConstructor()
        Checks if the constructor is a compact constructor. Only records have compact constructors.
        Returns:
        true if the constructor is a compact constructor.
      • setCompactConstructor

        void setCompactConstructor​(boolean compactConstructor)
        Marks the constructor as a compact constructor. Only records have compact constructors.
        Parameters:
        compactConstructor - true if the constructor is a compact constructor, false otherwise