Uses of Interface
spoon.reflect.visitor.chain.CtConsumableFunction
Packages that use CtConsumableFunction
Package
Description
This package defines the Spoon's compile-time meta-model of Java programs.
This package contains a set of useful filters when querying the model.
-
Uses of CtConsumableFunction in spoon.reflect
Methods in spoon.reflect with parameters of type CtConsumableFunctionModifier and TypeMethodDescription<I> CtQueryCtModelImpl.map(CtConsumableFunction<I> queryStep) -
Uses of CtConsumableFunction in spoon.reflect.visitor.chain
Methods in spoon.reflect.visitor.chain with parameters of type CtConsumableFunctionModifier and TypeMethodDescription<I> CtQueryCtQuery.map(CtConsumableFunction<I> queryStep)Same asCtQuery.map(CtFunction), but the returned object is not handled by java's return statement, but by a call toCtConsumer.accept(Object), this allows efficient and easy to write chained processing, seeCtConsumableFunction.<I> CtQueryCtQueryable.map(CtConsumableFunction<I> queryStep)<I> CtQueryImplCtQueryImpl.map(CtConsumableFunction<I> code) -
Uses of CtConsumableFunction in spoon.reflect.visitor.filter
Classes in spoon.reflect.visitor.filter that implement CtConsumableFunctionModifier and TypeClassDescriptionclassReturns all methods/lambdas with same signature in related inheritance hierarchies.classExpectsCtTypeas input and produces allCtTypeMembers declared in input class or any super class or super interface.classThis Query expects aCtCatchVariableas input and returns allCtCatchVariableReferences, which refers this input.classThis Query expects aCtCatchVariableas input and returns all CtElements, which are in visibility scope of that catch variable.classReturns all children of an element.classThis Query expects aCtFieldas input and returns allCtFieldReferences, which refers this input.classThis Query expects aCtFieldas input and returns all CtElements, which are in visibility scope of that field.classThis mapping function expects aCtLocalVariableas input and returns allCtLocalVariableReferences, which refers this input.classThis Query expects aCtLocalVariableas input and returns all CtElements, which are in visibility scope of that local variable.classGets all overridden method from the method given.classThis Query expects aCtParameteras input and returns allCtParameterReferences, which refers this input.classThis Query expects aCtParameteras input and returns all CtElements, which are in visibility scope of that parameter.classThis Function expects aCtElementas input and returns all parents of this element.classThis mapping function searches for allCtVariableinstances, which might be a declaration of an inputCtElement.classvisits siblings of input element.classExpects aCtTypeInformationas input and produces all sub classes and sub interfaces recursively.
The output is produced in arbitrary order.classExpects aCtTypeInformationas input and produces all super classes and super interfaces recursively.
The output is produced in following order: input type.classThe mapping function, acceptingCtVariableCtLocalVariable - local variable declared in body CtField - member field of an type CtParameter - method parameter CtCatchVariable - try - catch variable and returning all theCtVariableReference, which refers this variableclassThe mapping function, acceptingCtVariableCtLocalVariable - local variable declared in body CtParameter - method parameter CtCatchVariable - try - catch variable and returning all the CtElements, which exists in visibility scope of this variable. -
Uses of CtConsumableFunction in spoon.support.reflect.declaration
Methods in spoon.support.reflect.declaration with parameters of type CtConsumableFunctionModifier and TypeMethodDescription<I> CtQueryCtElementImpl.map(CtConsumableFunction<I> queryStep)