Uses of Interface
spoon.reflect.code.CtTry
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 CtTry in spoon.reflect.code
Modifier and TypeInterfaceDescriptioninterface
This code element defines atry
with resource statement.Modifier and TypeMethodDescription<T extends CtTry>
TCtTry.addCatcher(CtCatch catcher)
Adds a catch block.<T extends CtTry>
TCtTry.setCatchers(List<CtCatch> catchers)
Sets the catchers of thistry
.<T extends CtTry>
TCtTry.setFinalizer(CtBlock<?> finalizer)
Sets the finalizer block of thistry
(finally
part).Modifier and TypeMethodDescriptionCtTry.addCatcherAt(int position, CtCatch catcher)
Adds a catch block at the specified position in thetry
statement.CtTry.clone()
-
Uses of CtTry in spoon.reflect.factory
-
Uses of CtTry in spoon.reflect.visitor
Modifier and TypeMethodDescriptionvoid
CtAbstractVisitor.visitCtTry(CtTry tryBlock)
void
CtBiScannerDefault.visitCtTry(CtTry tryBlock)
void
CtInheritanceScanner.visitCtTry(CtTry e)
void
CtScanner.visitCtTry(CtTry tryBlock)
void
CtVisitor.visitCtTry(CtTry tryBlock)
Visits atry
statement.void
DefaultJavaPrettyPrinter.visitCtTry(CtTry tryBlock)
-
Uses of CtTry in spoon.support
-
Uses of CtTry in spoon.support.compiler.jdt
-
Uses of CtTry in spoon.support.reflect.code
Modifier and TypeMethodDescription<T extends CtTry>
TCtTryImpl.addCatcher(CtCatch catcher)
<T extends CtTry>
TCtTryImpl.setCatchers(List<CtCatch> catchers)
<T extends CtTry>
TCtTryImpl.setFinalizer(CtBlock<?> finalizer)
Modifier and TypeMethodDescriptionCtTryImpl.addCatcherAt(int position, CtCatch catcher)
CtTryImpl.clone()
-
Uses of CtTry in spoon.support.visitor.clone
-
Uses of CtTry in spoon.support.visitor.replace