Update javadoc

This commit is contained in:
Andreas Dangel
2023-02-04 20:09:21 +01:00
parent 2e0b6292b6
commit ae55297984
2 changed files with 5 additions and 3 deletions

View File

@ -19,7 +19,8 @@ import net.sourceforge.pmd.annotation.Experimental;
* </pre>
*
* @see <a href="https://openjdk.org/jeps/394">JEP 394: Pattern Matching for instanceof</a>
* @see <a href="https://openjdk.org/jeps/405">JEP 405: Record Patterns (Preview)</a>
* @see <a href="https://openjdk.org/jeps/405">JEP 405: Record Patterns (Preview)</a> (Java 19)
* @see <a href="https://openjdk.org/jeps/432">JEP 432: Record Patterns (Second Preview)</a> (Java 20)
*/
public interface ASTPattern extends JavaNode {

View File

@ -11,12 +11,13 @@ import net.sourceforge.pmd.annotation.Experimental;
*
* <pre class="grammar">
*
* RecordPattern ::= {@linkplain ASTReferenceType ReferenceType} {@linkplain ASTComponentPatternList ComponentPatternList} [ {@linkplain ASTVariableDeclaratorId VariableDeclaratorId} ]
* RecordPattern ::= {@linkplain ASTReferenceType ReferenceType} {@linkplain ASTComponentPatternList ComponentPatternList}
*
* </pre>
*
* @see ASTRecordDeclaration
* @see <a href="https://openjdk.org/jeps/432">JEP 432: Record Patterns (Second Preview)</a>
* @see <a href="https://openjdk.org/jeps/405">JEP 405: Record Patterns (Preview)</a> (Java 19)
* @see <a href="https://openjdk.org/jeps/432">JEP 432: Record Patterns (Second Preview)</a> (Java 20)
*/
@Experimental
public final class ASTRecordPattern extends AbstractJavaNode implements ASTPattern {