MCPcopy Create free account
hub / github.com/bsideup/jabel / RecordExample

Class RecordExample

example/src/main/java/com/example/RecordExample.java:5–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3import com.github.bsideup.jabel.Desugar;
4
5@Desugar
6public record RecordExample(int i, String s, long l, float f, double d, String[] arr, boolean b) {
7
8 public static RecordExample DUMMY = new RecordExample(0, null, 0, 0, 0, null, true);
9
10 public RecordExample {
11 if (i > 1_000_000) {
12 throw new IllegalArgumentException("'i' is too big");
13 }
14 }
15}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected