Uses of Interface
spoon.reflect.code.CtTry
Packages that use 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
Subinterfaces of CtTry in spoon.reflect.codeModifier and TypeInterfaceDescriptioninterface
This code element defines atry
with resource statement.Methods in spoon.reflect.code with type parameters of type CtTryModifier 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).Methods in spoon.reflect.code that return CtTryModifier 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
Methods in spoon.reflect.factory that return CtTry -
Uses of CtTry in spoon.reflect.visitor
Methods in spoon.reflect.visitor with parameters of type CtTryModifier 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
Methods in spoon.support that return CtTry -
Uses of CtTry in spoon.support.compiler.jdt
Methods in spoon.support.compiler.jdt with parameters of type CtTry -
Uses of CtTry in spoon.support.reflect.code
Classes in spoon.support.reflect.code that implement CtTryMethods in spoon.support.reflect.code with type parameters of type CtTryModifier and TypeMethodDescription<T extends CtTry>
TCtTryImpl.addCatcher(CtCatch catcher)
<T extends CtTry>
TCtTryImpl.setCatchers(List<CtCatch> catchers)
<T extends CtTry>
TCtTryImpl.setFinalizer(CtBlock<?> finalizer)
Methods in spoon.support.reflect.code that return CtTryModifier and TypeMethodDescriptionCtTryImpl.addCatcherAt(int position, CtCatch catcher)
CtTryImpl.clone()
-
Uses of CtTry in spoon.support.visitor.clone
Methods in spoon.support.visitor.clone with parameters of type CtTry -
Uses of CtTry in spoon.support.visitor.replace
Methods in spoon.support.visitor.replace with parameters of type CtTry