forked from phoedos/pmd
Update javadoc
This commit is contained in:
@ -19,7 +19,8 @@ import net.sourceforge.pmd.annotation.Experimental;
|
|||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @see <a href="https://openjdk.org/jeps/394">JEP 394: Pattern Matching for instanceof</a>
|
* @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 {
|
public interface ASTPattern extends JavaNode {
|
||||||
|
|
||||||
|
@ -11,12 +11,13 @@ import net.sourceforge.pmd.annotation.Experimental;
|
|||||||
*
|
*
|
||||||
* <pre class="grammar">
|
* <pre class="grammar">
|
||||||
*
|
*
|
||||||
* RecordPattern ::= {@linkplain ASTReferenceType ReferenceType} {@linkplain ASTComponentPatternList ComponentPatternList} [ {@linkplain ASTVariableDeclaratorId VariableDeclaratorId} ]
|
* RecordPattern ::= {@linkplain ASTReferenceType ReferenceType} {@linkplain ASTComponentPatternList ComponentPatternList}
|
||||||
*
|
*
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @see ASTRecordDeclaration
|
* @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
|
@Experimental
|
||||||
public final class ASTRecordPattern extends AbstractJavaNode implements ASTPattern {
|
public final class ASTRecordPattern extends AbstractJavaNode implements ASTPattern {
|
||||||
|
Reference in New Issue
Block a user