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.boolean
CtAbstractSwitch.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 acase
clause.<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> void
CtAbstractVisitor.visitCtCase(CtCase<S> caseStatement)
<S> void
CtBiScannerDefault.visitCtCase(CtCase<S> caseStatement)
<E> void
CtInheritanceScanner.visitCtCase(CtCase<E> e)
<S> void
CtScanner.visitCtCase(CtCase<S> caseStatement)
<S> void
CtVisitor.visitCtCase(CtCase<S> caseStatement)
Visits acase
clause.<E> void
DefaultJavaPrettyPrinter.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>>
Tboolean
CtSwitchExpressionImpl.removeCase(CtCase<? super S> c)
boolean
CtSwitchImpl.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> void
CloneBuilder.visitCtCase(CtCase<E> e)
<S> void
CloneVisitor.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> void
ReplacementVisitor.visitCtCase(CtCase<S> caseStatement)