Class ReflectiveDescriptor
java.lang.Object
com.github.kaktushose.jda.commands.definitions.description.reflective.ReflectiveDescriptor
- All Implemented Interfaces:
Descriptor
,Function<Class<?>,
ClassDescription>
-
Constructor Details
-
ReflectiveDescriptor
public ReflectiveDescriptor()
-
-
Method Details
-
apply
Transforms the givenClass
into aClassDescription
.- Specified by:
apply
in interfaceFunction<Class<?>,
ClassDescription> - Parameters:
clazz
- theClass
to transform- Returns:
- the
ClassDescription
built from the givenClass
-