mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
update javadoc
GitOrigin-RevId: 0a2e807e54a0eddbcd2e55e05a9ee8709ad46226
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9f56ce2969
commit
9e8547da68
@@ -6,14 +6,25 @@ import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
* <a href="https://openjdk.java.net/jeps/405">JEP</a>
|
||||
* <p>
|
||||
* Represents record pattern, for example: {@code Point(int x, int y) p }
|
||||
*/
|
||||
public interface PsiRecordPattern extends PsiPrimaryPattern {
|
||||
/**
|
||||
* @return element representing code inside '(...)' inclusive parenthesis
|
||||
*/
|
||||
@NotNull
|
||||
PsiRecordStructurePattern getStructurePattern();
|
||||
|
||||
/**
|
||||
* @return type of the pattern, for example in {@code Point(int x, int y) p } it is {@code Point }
|
||||
*/
|
||||
@NotNull
|
||||
PsiTypeElement getTypeElement();
|
||||
|
||||
/**
|
||||
* @return pattern variable if the pattern has a name, {@code null} otherwise
|
||||
*/
|
||||
@Nullable
|
||||
PsiRecordPatternVariable getPatternVariable();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user