Spec-Zone.ru › OpenJDK 24

Интерфейс ThrowInstruction

Все суперинтерфейсы:
ClassFileElement, CodeElement, Instruction
public sealed interface ThrowInstruction extends Instruction
Моделирует инструкцию athrow в массиве code атрибута Code. Доставляется как CodeElement при обходе элементов CodeModel.

Инструкции throw не имеют видимого состояния.

С:
24
См. также:
  • Opcode.Kind.THROW_EXCEPTION
  • CodeBuiler::athrow

Краткое описание методов

Модификатор и тип Метод Описание
static ThrowInstruction of()
Возвращает инструкцию throw.

Методы, объявленные в интерфейсе java.lang.classfile.Instruction

opcode, sizeInBytes

Подробное описание методов

of

static ThrowInstruction of()
Возвращает инструкцию throw.
Возвращает:
инструкцию throw

© 1993, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://download.java.net/java/early_access/jdk24/docs/api/java.base/java/lang/classfile/instruction/ThrowInstruction.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API