Skip to content

Commit

Permalink
[java] Make the new AST node classes final
Browse files Browse the repository at this point in the history
  • Loading branch information
adangel committed Feb 29, 2020
1 parent 0bcfda5 commit 548326d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
*/
@Experimental
public class ASTRecordBody extends AbstractJavaNode {
public final class ASTRecordBody extends AbstractJavaNode {
ASTRecordBody(int id) {
super(id);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* </pre>
*/
@Experimental
public class ASTRecordComponent extends AbstractJavaNode {
public final class ASTRecordComponent extends AbstractJavaNode {
private boolean varargs;

ASTRecordComponent(int id) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* </pre>
*/
@Experimental
public class ASTRecordComponentList extends AbstractJavaNode {
public final class ASTRecordComponentList extends AbstractJavaNode {
ASTRecordComponentList(int id) {
super(id);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*
*/
@Experimental
public class ASTRecordConstructorDeclaration extends AbstractJavaAccessNode implements ASTAnyTypeBodyDeclaration {
public final class ASTRecordConstructorDeclaration extends AbstractJavaAccessNode implements ASTAnyTypeBodyDeclaration {
ASTRecordConstructorDeclaration(int id) {
super(id);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @see <a href="https://openjdk.java.net/jeps/359">JEP 359: Records (Preview)</a>
*/
@Experimental
public class ASTRecordDeclaration extends AbstractAnyTypeDeclaration {
public final class ASTRecordDeclaration extends AbstractAnyTypeDeclaration {
ASTRecordDeclaration(int id) {
super(id);
}
Expand Down

0 comments on commit 548326d

Please sign in to comment.