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