Uses of Class
com.github.javaparser.ast.expr.PatternExpr
Packages that use PatternExpr
Package
Description
-
Uses of PatternExpr in com.github.javaparser.ast.expr
Subclasses of PatternExpr in com.github.javaparser.ast.exprModifier and TypeClassDescriptionclassRecord PatternsclassThe instanceof statementMethods in com.github.javaparser.ast.expr that return PatternExprModifier and TypeMethodDescriptionExpression.asPatternExpr()PatternExpr.asPatternExpr()PatternExpr.clone()Methods in com.github.javaparser.ast.expr that return types with arguments of type PatternExprModifier and TypeMethodDescriptionInstanceOfExpr.getPattern()RecordPatternExpr.getPatternList()Expression.toPatternExpr()PatternExpr.toPatternExpr()Methods in com.github.javaparser.ast.expr with parameters of type PatternExprMethod parameters in com.github.javaparser.ast.expr with type arguments of type PatternExprModifier and TypeMethodDescriptionvoidExpression.ifPatternExpr(Consumer<PatternExpr> action) voidPatternExpr.ifPatternExpr(Consumer<PatternExpr> action) RecordPatternExpr.setPatternList(NodeList<PatternExpr> patternList) Constructors in com.github.javaparser.ast.expr with parameters of type PatternExprModifierConstructorDescriptionInstanceOfExpr(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 PatternExprModifier and TypeMethodDescriptionAbstractJavaParserContext.typePatternExprsDiscoveredInPattern(PatternExpr patternExpr) When looking for a variable declaration in a pattern expression, there are 2 cases: 1.