Uses of Interface
org.sonar.plugins.java.api.tree.PatternTree
Packages that use PatternTree
Package
Description
Provides interfaces to represent Java source code as syntax tree.
-
Uses of PatternTree in org.sonar.java.model.expression
Methods in org.sonar.java.model.expression that return PatternTreeModifier and TypeMethodDescriptionInstanceOfTreeImpl.pattern()
Only works for PATTERN_INSTANCE_OF, mutually exclusive withInstanceOfTreeImpl.type()
Constructors in org.sonar.java.model.expression with parameters of type PatternTreeModifierConstructorDescriptionInstanceOfTreeImpl
(ExpressionTree expression, InternalSyntaxToken instanceofToken, PatternTree pattern) -
Uses of PatternTree in org.sonar.java.model.pattern
Classes in org.sonar.java.model.pattern that implement PatternTreeModifier and TypeClassDescriptionclass
JDK 17 Preview feature (JEP-405, JEP-406), finalized in JDK 21 (JEP-440, JEP-441).class
JDK 17 Preview feature (JEP-406), finalized in JDK 21 (JEP-441).class
JDK 17 Preview feature (JEP-406), finalized in JDK 21 (JEP-441).class
JDK 17 Preview feature (JEP-406), finalized in JDK 21 (JEP-441).class
JDK 19 Preview feature (JEP-405), finalized in JDK 21 (JEP-440).class
JDK 17 Preview feature (JEP-406), finalized in JDK 21 (JEP-441).Methods in org.sonar.java.model.pattern that return PatternTreeMethods in org.sonar.java.model.pattern that return types with arguments of type PatternTreeConstructors in org.sonar.java.model.pattern with parameters of type PatternTreeModifierConstructorDescriptionGuardedPatternTreeImpl
(PatternTree pattern, SyntaxToken whenOperator, ExpressionTree expression) Constructor parameters in org.sonar.java.model.pattern with type arguments of type PatternTreeModifierConstructorDescriptionRecordPatternTreeImpl
(TypeTree type, InternalSyntaxToken openParenToken, List<PatternTree> patterns, InternalSyntaxToken closeParenToken) -
Uses of PatternTree in org.sonar.plugins.java.api.tree
Subinterfaces of PatternTree in org.sonar.plugins.java.api.treeModifier and TypeInterfaceDescriptioninterface
Default pattern tree.interface
Guarded pattern tree Introduced with Java 17 and JEP-406.interface
Null pattern tree.interface
Record pattern tree.interface
Typed Pattern tree.Methods in org.sonar.plugins.java.api.tree that return PatternTreeMethods in org.sonar.plugins.java.api.tree that return types with arguments of type PatternTree