Class MethodElement
java.lang.Object
studio.mevera.imperat.annotations.base.element.ParseElement<Method>
studio.mevera.imperat.annotations.base.element.MethodElement
- All Implemented Interfaces:
Iterable<Annotation>,AnnotatedElement
-
Field Summary
Fields inherited from class studio.mevera.imperat.annotations.base.element.ParseElement
annotations, element, parent, parser -
Constructor Summary
ConstructorsConstructorDescriptionMethodElement(@NotNull AnnotationParser<S> parser, @Nullable ClassElement owningElement, @NotNull Method element) -
Method Summary
Modifier and TypeMethodDescriptionintintgetName()@Nullable ParameterElementgetParameterAt(int index) @NotNull ParseElement<?>booleanbooleanisHelp()intsize()Methods inherited from class studio.mevera.imperat.annotations.base.element.ParseElement
equals, getAnnotation, getAnnotations, getDeclaredAnnotations, getElement, hashCode, iterator, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.reflect.AnnotatedElement
getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresentMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
MethodElement
public MethodElement(@NotNull @NotNull AnnotationParser<S> parser, @Nullable @Nullable ClassElement owningElement, @NotNull @NotNull Method element)
-
-
Method Details
-
getParameterAt
-
size
public int size() -
getReturnType
-
getModifiers
public int getModifiers() -
getName
- Specified by:
getNamein classParseElement<Method>
-
getParameters
-
getInputCount
public int getInputCount() -
isAllOptionalInput
public boolean isAllOptionalInput() -
getParent
- Overrides:
getParentin classParseElement<Method>
-
isHelp
public boolean isHelp()
-