Uses of Interface
spoon.reflect.code.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
Modifier 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)Modifier and TypeMethodDescriptionCtAbstractSwitch.getCases()
Gets the list of cases defined for this switch.Modifier 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; -
Uses of CtCase in spoon.reflect.factory
Modifier 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
Modifier 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
-
Uses of CtCase in spoon.support.compiler.jdt
-
Uses of CtCase in spoon.support.reflect.code
Modifier and TypeMethodDescriptionCtCaseImpl.addCaseExpression(CtExpression<E> caseExpression)
CtCaseImpl.setCaseExpression(CtExpression<E> caseExpression)
CtCaseImpl.setCaseExpressions(List<CtExpression<E>> caseExpressions)
CtCaseImpl.setCaseKind(CaseKind kind)
Modifier 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)
-
Uses of CtCase in spoon.support.visitor.clone
Modifier and TypeMethodDescription<E> void
CloneBuilder.visitCtCase(CtCase<E> e)
<S> void
CloneVisitor.visitCtCase(CtCase<S> caseStatement)
-
Uses of CtCase in spoon.support.visitor.replace
Modifier and TypeMethodDescription<S> void
ReplacementVisitor.visitCtCase(CtCase<S> caseStatement)