public class VariableAccessFilter<T extends CtVariableAccess<?>> extends java.lang.Object implements Filter<T>
Constructor and Description |
---|
VariableAccessFilter(CtVariableReference<?> variable)
Creates a new field access filter.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(T variableAccess)
Tells if the given element matches.
|
public VariableAccessFilter(CtVariableReference<?> variable)
variable
- the accessed variablepublic boolean matches(T variableAccess)
Filter
matches
in interface Filter<T extends CtVariableAccess<?>>
variableAccess
- - the element to be checked for a match. Parameter element is never null if Query
is used.Copyright © 2007–2021 Inria. All rights reserved.