Package | Description |
---|---|
org.netbeans.api.java.source.matching |
Modifier and Type | Method and Description |
---|---|
static Pattern |
Pattern.createPatternWithFreeVariables(Iterable<? extends TreePath> pattern,
Map<String,TypeMirror> variable2Type)
Creates a pattern that contains free variables for multiple consequent patterns.
|
static Pattern |
Pattern.createPatternWithFreeVariables(TreePath pattern,
Map<String,TypeMirror> variable2Type)
Creates a pattern that contains free variables.
|
static Pattern |
Pattern.createPatternWithRemappableVariables(Iterable<? extends TreePath> pattern,
Collection<? extends VariableElement> remappable,
boolean allowRemapToTrees) |
static Pattern |
Pattern.createPatternWithRemappableVariables(TreePath pattern,
Collection<? extends VariableElement> remappable,
boolean allowRemapToTrees) |
static Pattern |
Pattern.createSimplePattern(Iterable<? extends TreePath> pattern)
Creates a simple pattern for multiple consequent patterns.
|
static Pattern |
Pattern.createSimplePattern(TreePath pattern)
Creates a simple pattern.
|
Modifier and Type | Method and Description |
---|---|
Collection<? extends Occurrence> |
Matcher.match(Pattern pattern)
Search for occurrences of the given pattern in the given subject tree.
|
Built on June 4 2024. | Copyright © 2017-2024 Apache Software Foundation. All Rights Reserved.