Uses of Interface
spoon.reflect.code.CtCatch
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 CtCatch in spoon.reflect.code
Modifier and TypeMethodDescription<T extends CtCatch>
TCtCatch.setParameter(CtCatchVariable<? extends Throwable> parameter)
Sets the catch's parameter (a throwable).Modifier and TypeMethodDescription<T extends CtTry>
TCtTry.addCatcher(CtCatch catcher)
Adds a catch block.CtTry.addCatcherAt(int position, CtCatch catcher)
Adds a catch block at the specified position in thetry
statement.boolean
CtTry.removeCatcher(CtCatch catcher)
Removes a catch block.Modifier and TypeMethodDescription<T extends CtTry>
TCtTry.setCatchers(List<CtCatch> catchers)
Sets the catchers of thistry
. -
Uses of CtCatch in spoon.reflect.factory
Modifier and TypeMethodDescriptionCoreFactory.createCatch()
Creates acatch
clause.Factory.createCatch()
FactoryImpl.createCatch()
CodeFactory.createCtCatch(String nameCatch, Class<? extends Throwable> exception, CtBlock<?> ctBlock)
Creates a catch element.Factory.createCtCatch(String nameCatch, Class<? extends Throwable> exception, CtBlock<?> ctBlock)
FactoryImpl.createCtCatch(String nameCatch, Class<? extends Throwable> exception, CtBlock<?> ctBlock)
-
Uses of CtCatch in spoon.reflect.visitor
Modifier and TypeMethodDescriptionvoid
CtAbstractVisitor.visitCtCatch(CtCatch catchBlock)
void
CtBiScannerDefault.visitCtCatch(CtCatch catchBlock)
void
CtInheritanceScanner.visitCtCatch(CtCatch e)
void
CtScanner.visitCtCatch(CtCatch catchBlock)
void
CtVisitor.visitCtCatch(CtCatch catchBlock)
Visits acatch
clause.void
DefaultJavaPrettyPrinter.visitCtCatch(CtCatch catchBlock)
-
Uses of CtCatch in spoon.support
-
Uses of CtCatch in spoon.support.compiler.jdt
-
Uses of CtCatch in spoon.support.reflect.code
Modifier and TypeMethodDescription<T extends CtCatch>
TCtCatchImpl.setParameter(CtCatchVariable<? extends Throwable> parameter)
Modifier and TypeMethodDescription<T extends CtTry>
TCtTryImpl.addCatcher(CtCatch catcher)
CtTryImpl.addCatcherAt(int position, CtCatch catcher)
boolean
CtTryImpl.removeCatcher(CtCatch catcher)
Modifier and TypeMethodDescription<T extends CtTry>
TCtTryImpl.setCatchers(List<CtCatch> catchers)
-
Uses of CtCatch in spoon.support.reflect.eval
-
Uses of CtCatch in spoon.support.visitor.clone
-
Uses of CtCatch in spoon.support.visitor.replace