Uses of Record Class
com.github.kaktushose.jda.commands.definitions.description.ParameterDescription
Package
Description
This packages includes different types of
Descriptions
that contain meta information about classes, methods und parameters, similar to reflections.Definitions
that represent any type interaction.Definitions
that represent a command interaction.-
Uses of ParameterDescription in com.github.kaktushose.jda.commands.definitions.description
Modifier and TypeMethodDescription@NotNull SequencedCollection
<ParameterDescription> MethodDescription.parameters()
Returns the value of theparameters
record component.ModifierConstructorDescriptionMethodDescription
(@NotNull Class<?> declaringClass, @NotNull Class<?> returnType, @NotNull String name, @NotNull SequencedCollection<ParameterDescription> parameters, @NotNull Collection<Annotation> annotations, @NotNull Invoker invoker) Creates an instance of aMethodDescription
record class. -
Uses of ParameterDescription in com.github.kaktushose.jda.commands.definitions.interactions
Modifier and TypeMethodDescriptionModalDefinition.TextInputDefinition.build
(ParameterDescription parameter) Builds a newModalDefinition.TextInputDefinition
from the givenParameterDescription
-
Uses of ParameterDescription in com.github.kaktushose.jda.commands.definitions.interactions.command
Modifier and TypeMethodDescriptionstatic @NotNull OptionDataDefinition
OptionDataDefinition.build
(@NotNull ParameterDescription parameter, boolean autoComplete, @NotNull com.github.kaktushose.jda.commands.dispatching.validation.internal.Validators validatorRegistry) Builds a newOptionDataDefinition
.