001package com.github.dkfellows.notabuilder.uses; 002import static com.github.dkfellows.notabuilder.ThingRecord.Args.*; 003 004import com.github.dkfellows.notabuilder.ThingRecord; 005 006/** An example of using a {@link ThingRecord}. */ 007public class UseThingRecord { 008 private UseThingRecord(){} 009 /** 010 * This is callable. 011 * @param args Ignored 012 */ 013 public static void main(String... args) { 014 var thing = new ThingRecord( 015 bar(123), 016 quux("hello world")); 017 018 System.out.println(thing); 019 } 020}