Package org.daiitech.naftah.builtin.lang
Interface JvmExecutable
- All Known Implementing Classes:
BuiltinFunction,JvmClassInitializer,JvmFunction
Represents any executable entity in the JVM runtime model, such as a method,
a constructor, or a class initializer (clinit block).
This interface provides a common abstraction for Java reflection
Executable objects, allowing unified
access to both built-in and user-defined callable elements.
The JvmExecutable hierarchy is sealed, restricting which
types may implement it to ensure well-defined behavior within the runtime model.
The permitted implementors are:
- Author:
- Chakib Daii
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the underlying reflectiveExecutableinstance represented by this object.
-
Method Details
-
getExecutable
Executable getExecutable()Returns the underlying reflectiveExecutableinstance represented by this object.This may correspond to a Java method, constructor, or other callable element recognized by the JVM.
- Returns:
- the associated
Executableinstance
-