isFinal
Record components (parameters here) are implicitly final, even without the explicitly-added modifier. https://openjdk.java.net/jeps/359#Restrictions-on-records If wanting to find out if the keyword final has been explicitly added to this parameter, you should use node.hasModifier(Modifier.Keyword.FINAL)
Return
true if the node parameter is explicitly final (keyword attached) or implicitly final (e.g. parameters to a record)