import java.util.function.Supplier;

public record Bug(int value) {

    static Supplier<String> str = ()-> "hello";

    static void bug(Supplier<String> str) {
        System.out.println(str.get()); ;
    }

    public Bug {
        bug(str);
        }

    public static void main(String[] args) {
        new Bug(1);
    }
}