Uses of Interface
java.lang.classfile.CodeBuilder.CatchBuilder
Package
Description
Provides classfile parsing, generation, and transformation library.
-
Uses of CodeBuilder.CatchBuilderPREVIEW in java.lang.classfilePREVIEW
Modifier and TypeMethodDescriptionCodeBuilder.CatchBuilder.catching
(ClassDesc exceptionType, Consumer<CodeBuilder.BlockCodeBuilderPREVIEW> catchHandler) Adds a catch block that catches an exception of the given type.CodeBuilder.CatchBuilder.catchingMulti
(List<ClassDesc> exceptionTypes, Consumer<CodeBuilder.BlockCodeBuilderPREVIEW> catchHandler) Adds a catch block that catches exceptions of the given types.