Class SourceOrderHelper
java.lang.Object
studio.mevera.imperat.annotations.base.SourceOrderHelper
-
Method Summary
Modifier and TypeMethodDescriptiongetInnerClassesInSourceOrder(Class<?> outerClass) Gets inner classes (both static and non-static) based on @Priority annotations.getMethodsInSourceOrder(Class<?> clazz) Gets methods in order based on @Priority value (lowest = first), and includes all methods if no annotation is present.
-
Method Details
-
getMethodsInSourceOrder
Gets methods in order based on @Priority value (lowest = first), and includes all methods if no annotation is present. -
getInnerClassesInSourceOrder
Gets inner classes (both static and non-static) based on @Priority annotations. Falls back to reflection order if no annotation present.
-