Uses of Class
com.github.javaparser.ast.expr.PatternExpr
-
Packages that use PatternExpr Package Description com.github.javaparser com.github.javaparser.ast.expr com.github.javaparser.symbolsolver.javaparsermodel.contexts -
-
Uses of PatternExpr in com.github.javaparser
Methods in com.github.javaparser that return PatternExpr Modifier and Type Method Description PatternExpr
GeneratedJavaParser. PatternExpression()
Methods in com.github.javaparser that return types with arguments of type PatternExpr Modifier and Type Method Description NodeList<PatternExpr>
GeneratedJavaParser. PatternList()
https://openjdk.org/jeps/440 -
Uses of PatternExpr in com.github.javaparser.ast.expr
Subclasses of PatternExpr in com.github.javaparser.ast.expr Modifier and Type Class Description class
RecordPatternExpr
Record Patternsclass
TypePatternExpr
The instanceof statementFields in com.github.javaparser.ast.expr declared as PatternExpr Modifier and Type Field Description private PatternExpr
InstanceOfExpr. pattern
Fields in com.github.javaparser.ast.expr with type parameters of type PatternExpr Modifier and Type Field Description private NodeList<PatternExpr>
RecordPatternExpr. patternList
Methods in com.github.javaparser.ast.expr that return PatternExpr Modifier and Type Method Description PatternExpr
Expression. asPatternExpr()
PatternExpr
PatternExpr. asPatternExpr()
PatternExpr
PatternExpr. clone()
PatternExpr
PatternExpr. setType(Type type)
Methods in com.github.javaparser.ast.expr that return types with arguments of type PatternExpr Modifier and Type Method Description java.util.Optional<PatternExpr>
InstanceOfExpr. getPattern()
NodeList<PatternExpr>
RecordPatternExpr. getPatternList()
java.util.Optional<PatternExpr>
Expression. toPatternExpr()
java.util.Optional<PatternExpr>
PatternExpr. toPatternExpr()
Methods in com.github.javaparser.ast.expr with parameters of type PatternExpr Modifier and Type Method Description InstanceOfExpr
InstanceOfExpr. setPattern(PatternExpr pattern)
Method parameters in com.github.javaparser.ast.expr with type arguments of type PatternExpr Modifier and Type Method Description void
Expression. ifPatternExpr(java.util.function.Consumer<PatternExpr> action)
void
PatternExpr. ifPatternExpr(java.util.function.Consumer<PatternExpr> action)
RecordPatternExpr
RecordPatternExpr. setPatternList(NodeList<PatternExpr> patternList)
Constructors in com.github.javaparser.ast.expr with parameters of type PatternExpr Constructor Description InstanceOfExpr(Expression expression, ReferenceType type, PatternExpr pattern)
InstanceOfExpr(TokenRange tokenRange, Expression expression, ReferenceType type, PatternExpr pattern)
This constructor is used by the parser and is considered private. -
Uses of PatternExpr in com.github.javaparser.symbolsolver.javaparsermodel.contexts
Methods in com.github.javaparser.symbolsolver.javaparsermodel.contexts with parameters of type PatternExpr Modifier and Type Method Description java.util.List<TypePatternExpr>
AbstractJavaParserContext. typePatternExprsDiscoveredInPattern(PatternExpr patternExpr)
When looking for a variable declaration in a pattern expression, there are 2 cases: 1.
-