Uses of Annotation Interface
jp.ecuacion.lib.core.annotation.RequireNonnull
Packages that use RequireNonnull
Package
Description
Provides Exceptions.
Provides several kinds of loggers.
Provides utilities used in wide situations.
-
Uses of RequireNonnull in jp.ecuacion.lib.core.exception.checked
Constructor parameters in jp.ecuacion.lib.core.exception.checked with annotations of type RequireNonnullModifierConstructorDescriptionAppExceptionFields(String... fields) Constructs a new instance withfields. -
Uses of RequireNonnull in jp.ecuacion.lib.core.logging
Method parameters in jp.ecuacion.lib.core.logging with annotations of type RequireNonnullModifier and TypeMethodDescriptionvoidLogs message with "debug" loglevel.voidLogs message with "error" loglevel.voidLogs exception message with "error" loglevel.voidLogs message with "info" loglevel.voidLogs message with "trace" loglevel.voidLogs message with "warn" loglevel. -
Uses of RequireNonnull in jp.ecuacion.lib.core.util
Method parameters in jp.ecuacion.lib.core.util with annotations of type RequireNonnullModifier and TypeMethodDescriptionFileUtil.cleanPathStrWithSlash(String path) Cleans a path string.ExceptionUtil.getAppExceptionMessageList(AppException appException, Locale locale) Returns listed SingleAppExceptions (= AppExceptions with messages).StringUtil.getCsvWithSpace(String[] collection) Returns csv with spaces after commas from list of string.static <T> TEnumUtil.getEnumFromCode(Class<T> enumClass, String code) Obtains the enum value from the code.ExceptionUtil.getErrLogString(Throwable throwable, String additionalMessage, Locale locale) Returns strings or error log.ExceptionUtil.getExceptionListWithMessages(Throwable throwable) Returns listed exceptions with messages.ExceptionUtil.getExceptionMessage(Throwable throwable, boolean needsDetails) Returns exception message for 1 exception.ExceptionUtil.getExceptionMessage(Throwable throwable, Locale locale, boolean needsDetails) Returns exception message for 1 exception.FileUtil.getFileSavableName(String origName) Changes argument filename into file-savable name.DateTimeApiUtil.getLocalDateTime(String dateTimeString) Returns aLocalDateTimeinstance from date-time string.DateTimeApiUtil.getLocalDateTimeDisplayString(LocalDateTime localDateTime) Returns user-friendly LocalDateTime format string :yyyy-MM-dd HH:mm:ss.DateTimeApiUtil.getLocalDateTimeDisplayString(OffsetDateTime dateTime, ZoneId zoneId) Returns user-friendly LocalDateTime format string :yyyy-MM-dd HH:mm:ss.DateTimeApiUtil.getLocalDateTimeDisplayStringOrNullIfDateTimeIsNull(OffsetDateTime dateTime, ZoneId zoneId) Returns user-friendly LocalDateTime format string :yyyy-MM-dd HH:mm:ss.static StringReturns the value in application_xxx.properties.DateTimeApiUtil.getOffsetDateTime(String dateTimeString) Returns aOffsetDateTimeinstance from date-time string.DateTimeApiUtil.getOffsetDateTimeDisplayString(OffsetDateTime offsetDateTime, ZoneId zoneId) Returns user-friendly OffsetDateTime format string :yyyy-MM-dd HH:mm:ss +HH:mm.ExceptionUtil.getSingleAppExceptionList(AppException appException) Returns listed SingleAppExceptions (= AppExceptions with messages).booleanChecks if file is locked.static <T> TObjectsUtil.paramRequireNonNull(T object) Validates the argument is notnulland throwsNullPointerExceptionifnull.static <T> TObjectsUtil.requireNonNull(T object) Validates the variable is notnulland throwsNullPointerExceptionifnull.<T> Set<jakarta.validation.ConstraintViolation<T>> Validates and returnsConstraintViolationif validation errors exist.BeanValidationUtil.validateThenReturn(T object) Validates and returnsMultipleAppExceptionif validation errors exist.BeanValidationUtil.validateThenReturn(T object, Locale locale) Validates and returnsMultipleAppExceptionif validation errors exist.<T> voidBeanValidationUtil.validateThenThrow(T object) Validates and throwsMultipleAppExceptionif validation errors exist.<T> voidBeanValidationUtil.validateThenThrow(T object, Locale locale) Validates and throwsMultipleAppExceptionif validation errors exist.