Uses of Interface
spoon.reflect.code.CtCase
Packages that use CtCase
Package
Description
This package contains the meta-model part that models the executable code (methods and constructors' bodies, field initializers).
This package defines all the sub-factories for the Spoon meta-model.
This package defines visitor, scanner, and scanner-based query API for Java programs reified in the meta-model.
This package contains some default implementations for commonly used processing tasks.
-
Uses of CtCase in spoon.reflect.code
Methods in spoon.reflect.code with type parameters of type CtCaseModifier and TypeMethodDescriptionCtCase.addCaseExpression(CtExpression<S> caseExpression)Adds case expression.CtCase.setCaseExpression(CtExpression<S> caseExpression)Sets the case expression.CtCase.setCaseExpressions(List<CtExpression<S>> caseExpressions)Sets the case expressions.CtCase.setCaseKind(CaseKind kind)Sets the kind of this case - colon (:) or arrow (->) (Arrow syntax is available as a preview feature since Java 12)Methods in spoon.reflect.code that return CtCaseMethods in spoon.reflect.code that return types with arguments of type CtCaseModifier and TypeMethodDescriptionCtAbstractSwitch.getCases()Gets the list of cases defined for this switch.Methods in spoon.reflect.code with parameters of type CtCaseModifier and TypeMethodDescription<T extends CtAbstractSwitch<S>>
TAdds a case;<T extends CtAbstractSwitch<S>>
TAdds a case at the specified position.booleanCtAbstractSwitch.removeCase(CtCase<? super S> c)Removes a case;Method parameters in spoon.reflect.code with type arguments of type CtCase -
Uses of CtCase in spoon.reflect.factory
Methods in spoon.reflect.factory that return CtCaseModifier and TypeMethodDescription<S> CtCase<S>CoreFactory.createCase()Creates acaseclause.<S> CtCase<S>Factory.createCase()<S> CtCase<S>FactoryImpl.createCase() -
Uses of CtCase in spoon.reflect.visitor
Methods in spoon.reflect.visitor with parameters of type CtCaseModifier and TypeMethodDescription<S> voidCtAbstractVisitor.visitCtCase(CtCase<S> caseStatement)<S> voidCtBiScannerDefault.visitCtCase(CtCase<S> caseStatement)<E> voidCtInheritanceScanner.visitCtCase(CtCase<E> e)<S> voidCtScanner.visitCtCase(CtCase<S> caseStatement)<S> voidCtVisitor.visitCtCase(CtCase<S> caseStatement)Visits acaseclause.<E> voidDefaultJavaPrettyPrinter.visitCtCase(CtCase<E> caseStatement) -
Uses of CtCase in spoon.support
Methods in spoon.support that return CtCase -
Uses of CtCase in spoon.support.compiler.jdt
Methods in spoon.support.compiler.jdt with parameters of type CtCase -
Uses of CtCase in spoon.support.reflect.code
Classes in spoon.support.reflect.code that implement CtCaseMethods in spoon.support.reflect.code with type parameters of type CtCaseModifier and TypeMethodDescriptionCtCaseImpl.addCaseExpression(CtExpression<E> caseExpression)CtCaseImpl.setCaseExpression(CtExpression<E> caseExpression)CtCaseImpl.setCaseExpressions(List<CtExpression<E>> caseExpressions)CtCaseImpl.setCaseKind(CaseKind kind)Methods in spoon.support.reflect.code that return CtCaseMethods in spoon.support.reflect.code that return types with arguments of type CtCaseMethods in spoon.support.reflect.code with parameters of type CtCaseModifier and TypeMethodDescription<T extends CtAbstractSwitch<S>>
T<T extends CtAbstractSwitch<S>>
T<T extends CtAbstractSwitch<S>>
T<T extends CtAbstractSwitch<S>>
TbooleanCtSwitchExpressionImpl.removeCase(CtCase<? super S> c)booleanCtSwitchImpl.removeCase(CtCase<? super S> c)Method parameters in spoon.support.reflect.code with type arguments of type CtCase -
Uses of CtCase in spoon.support.visitor.clone
Methods in spoon.support.visitor.clone with parameters of type CtCaseModifier and TypeMethodDescription<E> voidCloneBuilder.visitCtCase(CtCase<E> e)<S> voidCloneVisitor.visitCtCase(CtCase<S> caseStatement) -
Uses of CtCase in spoon.support.visitor.replace
Methods in spoon.support.visitor.replace with parameters of type CtCaseModifier and TypeMethodDescription<S> voidReplacementVisitor.visitCtCase(CtCase<S> caseStatement)