Package spoon.reflect.visitor.chain
Interface CtQueryAware
-
- All Known Implementing Classes:
AllMethodsSameSignatureFunction
,AllTypeMembersFunction
,CtScannerFunction
,ParentFunction
,PotentialVariableDeclarationFunction
,SubInheritanceHierarchyFunction
,SuperInheritanceHierarchyFunction
public interface CtQueryAware
Expert-only capability interface so as to write advancedCtFunction
andFilter
that need to access the state of the top-levelCtQuery
instance containing the function to be evaluated. Not meant to be implemented directly, only in conjunction withCtConsumableFunction
,CtFunction
orFilter
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setQuery(CtQuery query)
This method is called when the filter/function is added as a step to aCtQuery
by the query engine (CtQueryImpl
).
-
-
-
Method Detail
-
setQuery
void setQuery(CtQuery query)
This method is called when the filter/function is added as a step to aCtQuery
by the query engine (CtQueryImpl
).- Parameters:
query
- an instance registering this function/filter.
-
-