See: Description
| Annotation Type | Description |
|---|---|
| CheckReturnValue |
This annotation is for IDE to warn application developers to consume the return value.
|
| NodeModule |
The annotation Node module.
|
| V8Allow |
The interface V8 allow.
|
| V8BindingEnabler |
The interface V8 binding enabler is for determining
whether certain V8 binding function is enabled or not.
|
| V8Block |
The interface V8 block.
|
| V8Convert |
The interface V8 convert.
|
| V8Function |
The annotation V8 function is for auto-registering JS function interception.
|
| V8Getter |
The interface V8 getter.
|
| V8Property |
The interface V8 property is for auto-registering JS property interception.
|
| V8ProxyFunctionApply |
The annotation V8 proxy function is for auto-registering JS proxy function apply() interception.
|
| V8RuntimeSetter |
The interface V8 runtime setter.
|
| V8Setter |
The interface V8 setter.
|
Use these annotations to control how Java methods, fields, and constructors are exposed to JavaScript:
V8Function - Register a Java method as a JavaScript function.V8Property - Register a Java method or field as a JavaScript property.V8Getter / V8Setter - Mark methods as JavaScript property getters/setters.V8Allow / V8Block - Allowlist or blocklist members for V8 access.V8Convert - Specify conversion mode and proxy mode for a class.V8BindingEnabler - Conditionally enable or disable bindings at runtime.V8RuntimeSetter - Inject the V8 runtime instance into a method.NodeModule - Mark a class as a Node.js module with a configurable name.CheckReturnValue - Warn when return values are not consumed (prevents memory leaks).