Uses of Interface
spoon.reflect.visitor.chain.CtConsumer
Packages that use CtConsumer
Package
Description
This package contains a set of useful filters when querying the model.
This package defines a framework for well-typed pure-Java templates.
- 
Uses of CtConsumer in spoon.patternMethods in spoon.pattern with parameters of type CtConsumerModifier and TypeMethodDescriptionvoidPattern.forEachMatch(Object input, CtConsumer<Match> consumer)Finds all target program sub-trees that correspond to a template and calls consumer.accept(Match)
- 
Uses of CtConsumer in spoon.pattern.internal.matcherConstructors in spoon.pattern.internal.matcher with parameters of type CtConsumerModifierConstructorDescriptionMatchingScanner(ListOfNodes pattern, CtConsumer<? super Match> matchConsumer)
- 
Uses of CtConsumer in spoon.reflect.visitor.chainMethods in spoon.reflect.visitor.chain with parameters of type CtConsumerModifier and TypeMethodDescriptionvoidCtConsumableFunction.apply(T input, CtConsumer<Object> outputConsumer)Evaluates the function on the given input.<I, R> voidCtQueryImpl.evaluate(I input, CtConsumer<R> outputConsumer)Evaluates this query, ignoring bound input - if any<R> voidCtQuery.forEach(CtConsumer<R> consumer)Actually evaluates the query and for each produced output element of the last step, calls `consumer.accept(outputElement)`.<R> voidCtQueryImpl.forEach(CtConsumer<R> consumer)
- 
Uses of CtConsumer in spoon.reflect.visitor.filterFields in spoon.reflect.visitor.filter declared as CtConsumerModifier and TypeFieldDescriptionprotected CtConsumer<Object>VariableReferenceFunction.outputConsumerprotected CtConsumer<Object>VariableScopeFunction.outputConsumerMethods in spoon.reflect.visitor.filter with parameters of type CtConsumerModifier and TypeMethodDescriptionvoidAllMethodsSameSignatureFunction.apply(CtExecutable<?> targetExecutable, CtConsumer<Object> outputConsumer)voidAllTypeMembersFunction.apply(CtTypeInformation input, CtConsumer<Object> outputConsumer)voidCatchVariableScopeFunction.apply(CtCatchVariable<?> catchVariable, CtConsumer<Object> outputConsumer)voidCtScannerFunction.apply(CtElement input, CtConsumer<Object> outputConsumer)voidFieldReferenceFunction.apply(CtElement fieldOrScope, CtConsumer<Object> outputConsumer)voidFieldScopeFunction.apply(CtField<?> field, CtConsumer<Object> outputConsumer)voidLocalVariableReferenceFunction.apply(CtElement scope, CtConsumer<Object> outputConsumer)voidLocalVariableScopeFunction.apply(CtLocalVariable<?> localVariable, CtConsumer<Object> outputConsumer)voidOverriddenMethodQuery.apply(CtMethod<?> input, CtConsumer<Object> outputConsumer)voidParameterScopeFunction.apply(CtParameter<?> parameter, CtConsumer<Object> outputConsumer)voidParentFunction.apply(CtElement input, CtConsumer<Object> outputConsumer)voidPotentialVariableDeclarationFunction.apply(CtElement input, CtConsumer<Object> outputConsumer)voidSiblingsFunction.apply(CtElement input, CtConsumer<Object> outputConsumer)voidSubInheritanceHierarchyFunction.apply(CtTypeInformation input, CtConsumer<Object> outputConsumer)voidSuperInheritanceHierarchyFunction.apply(CtTypeInformation input, CtConsumer<Object> outputConsumer)voidVariableReferenceFunction.apply(CtElement variableOrScope, CtConsumer<Object> outputConsumer)voidVariableScopeFunction.apply(CtVariable<?> variable, CtConsumer<Object> outputConsumer)protected voidFieldScopeFunction.searchForPackageProtectedField(CtField<?> field, CtConsumer<Object> outputConsumer)protected voidFieldScopeFunction.searchForPrivateField(CtField<?> field, CtConsumer<Object> outputConsumer)protected voidFieldScopeFunction.searchForProtectedField(CtField<?> field, CtConsumer<Object> outputConsumer)protected voidFieldScopeFunction.searchForPublicField(CtField<?> field, CtConsumer<Object> outputConsumer)protected voidSuperInheritanceHierarchyFunction.sendResult(CtTypeReference<?> typeRef, CtConsumer<Object> outputConsumer)protected voidSuperInheritanceHierarchyFunction.visitSuperClasses(CtTypeReference<?> superTypeRef, CtConsumer<Object> outputConsumer, boolean includingInterfaces)calls `outputConsumer.accept(superClass)` for all super classes of superType.protected voidSuperInheritanceHierarchyFunction.visitSuperInterfaces(CtTypeReference<?> type, CtConsumer<Object> outputConsumer)calls `outputConsumer.accept(interface)` for all superInterfaces of type recursively.
- 
Uses of CtConsumer in spoon.support.visitorMethods in spoon.support.visitor with parameters of type CtConsumerModifier and TypeMethodDescription<T extends CtType<?>>
 voidSubInheritanceHierarchyResolver.forEachSubTypeInPackage(CtConsumer<T> outputConsumer)Calls `outputConsumer.apply(subType)` for each sub type of the targetSuperTypes that are found in `inputPackage`.
- 
Uses of CtConsumer in spoon.templateMethods in spoon.template with parameters of type CtConsumerModifier and TypeMethodDescriptionvoidTemplateMatcher.forEachMatch(CtElement rootElement, CtConsumer<Match> consumer)Finds all target program sub-trees that correspond to a template and calls consumer.accept(matchingElement, )