Enum Class的使用
com.github.aqiu202.util.ReflectionUtils.ScanDirection
-
com.github.aqiu202.util中ReflectionUtils.ScanDirection的使用
修饰符和类型方法说明Returns the enum constant of this class with the specified name.static ReflectionUtils.ScanDirection[]ReflectionUtils.ScanDirection.values()Returns an array containing the constants of this enum class, in the order they are declared.修饰符和类型方法说明static ReflectionUtils.ClassFieldsReflectionUtils.getAllField(Class<?> type, ReflectionUtils.ScanDirection direction) static ReflectionUtils.ClassMethodsReflectionUtils.getAllMethod(Class<?> type, ReflectionUtils.ScanDirection direction) 获取所有的方法(包含私有方法,但不包含abstract和static修饰的方法)