Package spoon.reflect.visitor.chain
Interface CtQueryable
- All Known Subinterfaces:
CompilationUnit
,CtAbstractInvocation<T>
,CtAbstractSwitch<S>
,CtAnnotation<A>
,CtAnnotationFieldAccess<T>
,CtAnnotationMethod<T>
,CtAnnotationType<T>
,CtAnonymousExecutable
,CtArrayAccess<T,E>
,CtArrayRead<T>
,CtArrayTypeReference<T>
,CtArrayWrite<T>
,CtAssert<T>
,CtAssignment<T,A>
,CtBinaryOperator<T>
,CtBlock<R>
,CtBodyHolder
,CtBreak
,CtCase<S>
,CtCatch
,CtCatchVariable<T>
,CtCatchVariableReference<T>
,CtCFlowBreak
,CtClass<T>
,CtCodeElement
,CtCodeSnippetExpression<T>
,CtCodeSnippetStatement
,CtComment
,CtCompilationUnit
,CtConditional<T>
,CtConstructor<T>
,CtConstructorCall<T>
,CtContinue
,CtDo
,CtElement
,CtEnum<T>
,CtEnumValue<T>
,CtExecutable<R>
,CtExecutableReference<T>
,CtExecutableReferenceExpression<T,E>
,CtExpression<T>
,CtField<T>
,CtFieldAccess<T>
,CtFieldRead<T>
,CtFieldReference<T>
,CtFieldWrite<T>
,CtFor
,CtForEach
,CtFormalTypeDeclarer
,CtIf
,CtImport
,CtInterface<T>
,CtIntersectionTypeReference<T>
,CtInvocation<T>
,CtJavaDoc
,CtJavaDocTag
,CtLabelledFlowBreak
,CtLambda<T>
,CtLiteral<T>
,CtLocalVariable<T>
,CtLocalVariableReference<T>
,CtLoop
,CtMethod<T>
,CtModel
,CtModifiable
,CtModule
,CtModuleDirective
,CtModuleReference
,CtModuleRequirement
,CtMultiTypedElement
,CtNamedElement
,CtNewArray<T>
,CtNewClass<T>
,CtOperatorAssignment<T,A>
,CtPackage
,CtPackageDeclaration
,CtPackageExport
,CtPackageReference
,CtParameter<T>
,CtParameterReference<T>
,CtPattern
,CtProvidedService
,CtQuery
,CtRecord
,CtRecordComponent
,CtReference
,CtResource<T>
,CtReturn<R>
,CtStatement
,CtStatementList
,CtSuperAccess<T>
,CtSwitch<S>
,CtSwitchExpression<T,S>
,CtSynchronized
,CtTargetedExpression<T,E>
,CtTextBlock
,CtThisAccess<T>
,CtThrow
,CtTry
,CtTryWithResource
,CtType<T>
,CtTypeAccess<A>
,CtTypedElement<T>
,CtTypeMember
,CtTypeMemberWildcardImportReference
,CtTypeParameter
,CtTypeParameterReference
,CtTypePattern
,CtTypeReference<T>
,CtUnaryOperator<T>
,CtUnboundVariableReference<T>
,CtUsedService
,CtVariable<T>
,CtVariableAccess<T>
,CtVariableRead<T>
,CtVariableReference<T>
,CtVariableWrite<T>
,CtWhile
,CtWildcardReference
,CtYieldStatement
- All Known Implementing Classes:
CompilationUnitImpl
,CtAnnotationFieldAccessImpl
,CtAnnotationImpl
,CtAnnotationMethodImpl
,CtAnnotationTypeImpl
,CtAnonymousExecutableImpl
,CtArrayAccessImpl
,CtArrayReadImpl
,CtArrayTypeReferenceImpl
,CtArrayWriteImpl
,CtAssertImpl
,CtAssignmentImpl
,CtBinaryOperatorImpl
,CtBlockImpl
,CtBreakImpl
,CtCaseImpl
,CtCatchImpl
,CtCatchVariableImpl
,CtCatchVariableReferenceImpl
,CtClassImpl
,CtCodeElementImpl
,CtCodeSnippetExpressionImpl
,CtCodeSnippetStatementImpl
,CtCommentImpl
,CtCompilationUnitImpl
,CtConditionalImpl
,CtConstructorCallImpl
,CtConstructorImpl
,CtContinueImpl
,CtDoImpl
,CtElementImpl
,CtEnumImpl
,CtEnumValueImpl
,CtExecutableImpl
,CtExecutableReferenceExpressionImpl
,CtExecutableReferenceImpl
,CtExpressionImpl
,CtFieldAccessImpl
,CtFieldImpl
,CtFieldReadImpl
,CtFieldReferenceImpl
,CtFieldWriteImpl
,CtForEachImpl
,CtForImpl
,CtIfImpl
,CtImportImpl
,CtInterfaceImpl
,CtIntersectionTypeReferenceImpl
,CtInvocationImpl
,CtJavaDocImpl
,CtJavaDocTagImpl
,CtLambdaImpl
,CtLiteralImpl
,CtLocalVariableImpl
,CtLocalVariableReferenceImpl
,CtLoopImpl
,CtMethodImpl
,CtModelImpl
,CtModelImpl.CtRootPackage
,CtModuleImpl
,CtModuleReferenceImpl
,CtModuleRequirementImpl
,CtNamedElementImpl
,CtNewArrayImpl
,CtNewClassImpl
,CtOperatorAssignmentImpl
,CtPackageDeclarationImpl
,CtPackageExportImpl
,CtPackageImpl
,CtPackageReferenceImpl
,CtParameterImpl
,CtParameterReferenceImpl
,CtProvidedServiceImpl
,CtQueryImpl
,CtRecordComponentImpl
,CtRecordImpl
,CtReferenceImpl
,CtReturnImpl
,CtStatementImpl
,CtStatementListImpl
,CtSuperAccessImpl
,CtSwitchExpressionImpl
,CtSwitchImpl
,CtSynchronizedImpl
,CtTargetedExpressionImpl
,CtTextBlockImpl
,CtThisAccessImpl
,CtThrowImpl
,CtTryImpl
,CtTryWithResourceImpl
,CtTypeAccessImpl
,CtTypeImpl
,CtTypeMemberWildcardImportReferenceImpl
,CtTypeParameterImpl
,CtTypeParameterReferenceImpl
,CtTypePatternImpl
,CtTypeReferenceImpl
,CtUnaryOperatorImpl
,CtUnboundVariableReferenceImpl
,CtUnresolvedImport
,CtUsedServiceImpl
,CtVariableAccessImpl
,CtVariableReadImpl
,CtVariableReferenceImpl
,CtVariableWriteImpl
,CtWhileImpl
,CtWildcardReferenceImpl
,CtYieldStatementImpl
,InvisibleArrayConstructorImpl
,ModuleFactory.CtUnnamedModule
,NoSourcePosition.NullCompilationUnit
public interface CtQueryable
Represents an object on which one can make queries.
It is implemented
- by
CtElement
to allow creation of a new query on children of an element. - by
CtQuery
to allow reusable queries and chaining query steps.
You might want to use Filter
with CtElement.getElements(Filter)
instead.
-
Method Summary
Modifier and TypeMethodDescriptionfilterChildren(Filter<R> filter)
<I> CtQuery
map(CtConsumableFunction<I> queryStep)
<I, R> CtQuery
map(CtFunction<I,R> function)
-
Method Details
-
filterChildren
- See Also:
CtQuery.filterChildren(Filter)
-
map
- See Also:
CtQuery.map(CtFunction)
-
map
- See Also:
CtQuery.map(CtConsumableFunction)
-