Interface AnnotationReplacer<A extends Annotation>
- Type Parameters:
A- the valueType of annotation to replace with other annotations
Replaces a custom annotation made by the user, with annotations
made from the basic pre-made annotations such as
Command-
Method Summary
Modifier and TypeMethodDescription@NotNull Collection<Annotation>replace(@NotNull ParseElement<?> element, A annotation) The annotation to replace
-
Method Details
-
replace
@NotNull @NotNull Collection<Annotation> replace(@NotNull @NotNull ParseElement<?> element, A annotation) The annotation to replace- Parameters:
element- the loaded element holding this annotationannotation- the annotation- Returns:
- the annotations replaced by this annotation
-