Package spoon.reflect.visitor.chain
Interface CtConsumer<T>
- Type Parameters:
T
- - the type of accepted elements
public interface CtConsumer<T>
The functional interface used to receive objects.
It is used for example to receive results of the query in
CtQuery.forEach(CtConsumer)
-
Method Summary
-
Method Details
-
accept
Implement this method to do something with object "t" passed as parameter
-