Class RequiredPermissions.Converter
java.lang.Object
com.jagrosh.jdautilities.doc.standard.RequiredPermissions.Converter
- All Implemented Interfaces:
DocConverter<RequiredPermissions>
- Enclosing class:
RequiredPermissions
public static class RequiredPermissions.Converter
extends Object
implements DocConverter<RequiredPermissions>
The
DocConverter
for the
@RequiredPermissions
annotation.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionread
(RequiredPermissions annotation) Returns a String processed from the contents of the providedAnnotation
.
-
Constructor Details
-
Converter
public Converter()
-
-
Method Details
-
read
Description copied from interface:DocConverter
Returns a String processed from the contents of the providedAnnotation
.
Should never throw and/or encounter uncaught exceptions.- Specified by:
read
in interfaceDocConverter<RequiredPermissions>
- Parameters:
annotation
- The annotation to process.- Returns:
- A String processed from the Annotation provided.
-