JavaCompilerCore/resources/syntaxtreegenerator/javFiles/Record.jav

5 lines
89 B
Java

// Simple records
record Point(x, y){ }
//Combination of records
record Line(pt1, pt2){}