public class MatcherUtilities extends Object
Constructor and Description |
---|
MatcherUtilities() |
Modifier and Type | Method and Description |
---|---|
static boolean |
matches(HintContext ctx,
Collection<? extends TreePath> variable,
String pattern,
Map<String,TreePath> outVariables,
Map<String,Collection<? extends TreePath>> outMultiVariables,
Map<String,String> outVariables2Names) |
static boolean |
matches(HintContext ctx,
TreePath variable,
String pattern) |
static boolean |
matches(HintContext ctx,
TreePath variable,
String pattern,
boolean fillInVariablesHack) |
static boolean |
matches(HintContext ctx,
TreePath variable,
String pattern,
Map<String,TreePath> outVariables,
Map<String,Collection<? extends TreePath>> outMultiVariables,
Map<String,String> outVariables2Names) |
static boolean |
matches(HintContext ctx,
TreePath variable,
String pattern,
Map<String,TreePath> outVariables,
Map<String,Collection<? extends TreePath>> outMultiVariables,
Map<String,String> outVariables2Names,
Map<String,TypeMirror> variable2Type) |
public static boolean matches(@NonNull HintContext ctx, @NonNull TreePath variable, @NonNull String pattern)
public static boolean matches(@NonNull HintContext ctx, @NonNull TreePath variable, @NonNull String pattern, boolean fillInVariablesHack)
public static boolean matches(@NonNull HintContext ctx, @NonNull TreePath variable, @NonNull String pattern, Map<String,TreePath> outVariables, Map<String,Collection<? extends TreePath>> outMultiVariables, Map<String,String> outVariables2Names)
public static boolean matches(@NonNull HintContext ctx, @NonNull TreePath variable, @NonNull String pattern, Map<String,TreePath> outVariables, Map<String,Collection<? extends TreePath>> outMultiVariables, Map<String,String> outVariables2Names, Map<String,TypeMirror> variable2Type)