Package dev.latvian.mods.kubejs.typings
Annotation Interface ThisIs
Annotation that typing generation mods can use to declare type guards.
Use this on boolean-returning methods that can guarantee that if the method returns true,
the current instance may be treated as the provided class type.
Type guards can help narrow down types in conditional blocks.
-
Required Element Summary
Required Elements
-
Element Details
-
value
Class<?> value
-