ICommandParameterContainer

Properties

Link copied to clipboard

All options from this executable, including from its aggregates.

Link copied to clipboard

All options from this executable, including from its aggregates, sorted by order of appearance in this function.

Link copied to clipboard
abstract val context: BContext

The main context.

Link copied to clipboard
abstract val function: KFunction<*>

The target function of this executable.

Link copied to clipboard

The parameters of this executable.

Functions

Link copied to clipboard
open fun <A : Annotation> findAllAnnotations(annotationType: Class<out A>, directOverrides: Boolean): <Error class: unknown class>

Finds all annotations of type annotationType from this executable's function.

Link copied to clipboard
inline fun <A : Annotation> Executable.findAllAnnotations(directOverrides: Boolean = true): List<A>

Finds all annotations of type A from this executable's function.

Link copied to clipboard
open fun <A : Annotation> findAllAnnotationsWith(annotationType: Class<out A>): <Error class: unknown class>

Finds all annotations meta-annotated with annotationType from this executable's function.

Link copied to clipboard

Finds all annotations meta-annotated with A from this executable's function.

Link copied to clipboard
open fun <A : Annotation> findAnnotation(annotationType: Class<out A>): <Error class: unknown class>

Finds a single annotation of type annotationType from this executable's function.

Link copied to clipboard

Finds a single annotation of type A from this executable's function.

Link copied to clipboard

Finds all annotations from this executable's function.

Link copied to clipboard
open fun hasAnnotation(annotationType: Class<out Annotation>): Boolean

Returns true if this element is annotated with annotationType.

Link copied to clipboard

Returns true if this element is annotated with A.