Uses of Interface
spoon.reflect.code.CtCatch
Packages that use 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
Methods in spoon.reflect.code with type parameters of type CtCatchModifier and TypeMethodDescription<T extends CtCatch>
TCtCatch.setParameter(CtCatchVariable<? extends Throwable> parameter)
Sets the catch's parameter (a throwable).Methods in spoon.reflect.code that return CtCatchMethods in spoon.reflect.code that return types with arguments of type CtCatchMethods in spoon.reflect.code with parameters of type CtCatchModifier 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.Method parameters in spoon.reflect.code with type arguments of type CtCatchModifier and TypeMethodDescription<T extends CtTry>
TCtTry.setCatchers(List<CtCatch> catchers)
Sets the catchers of thistry
. -
Uses of CtCatch in spoon.reflect.factory
Methods in spoon.reflect.factory that return CtCatchModifier 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
Methods in spoon.reflect.visitor with parameters of type CtCatchModifier 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
Methods in spoon.support that return CtCatch -
Uses of CtCatch in spoon.support.compiler.jdt
Methods in spoon.support.compiler.jdt with parameters of type CtCatch -
Uses of CtCatch in spoon.support.reflect.code
Classes in spoon.support.reflect.code that implement CtCatchMethods in spoon.support.reflect.code with type parameters of type CtCatchModifier and TypeMethodDescription<T extends CtCatch>
TCtCatchImpl.setParameter(CtCatchVariable<? extends Throwable> parameter)
Methods in spoon.support.reflect.code that return CtCatchMethods in spoon.support.reflect.code that return types with arguments of type CtCatchMethods in spoon.support.reflect.code with parameters of type CtCatchModifier and TypeMethodDescription<T extends CtTry>
TCtTryImpl.addCatcher(CtCatch catcher)
CtTryImpl.addCatcherAt(int position, CtCatch catcher)
boolean
CtTryImpl.removeCatcher(CtCatch catcher)
Method parameters in spoon.support.reflect.code with type arguments of type CtCatchModifier and TypeMethodDescription<T extends CtTry>
TCtTryImpl.setCatchers(List<CtCatch> catchers)
-
Uses of CtCatch in spoon.support.reflect.eval
Methods in spoon.support.reflect.eval with parameters of type CtCatch -
Uses of CtCatch in spoon.support.visitor.clone
Methods in spoon.support.visitor.clone with parameters of type CtCatch -
Uses of CtCatch in spoon.support.visitor.replace
Methods in spoon.support.visitor.replace with parameters of type CtCatch