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.AppWarningException(Locale locale, String messageId, String... messageArgs) Constructs a new instance with warn fields, messageId and message Arguments.BeanValidationAppException(jakarta.validation.ConstraintViolation<?> violation) Constructs a new instance with bean validation violation.Constructs a new instance withBeanValidationErrorInfoBean.BizLogicAppException(String messageId, PropertyFileUtil.Arg[] messageArgs) Constructs a new instance withfields,messageIdandmessageArgs.BizLogicAppException(String messageId, PropertyFileUtil.Arg[] messageArgs) Constructs a new instance withfields,messageIdandmessageArgs.BizLogicAppException(AppExceptionFields fields, String messageId, PropertyFileUtil.Arg[] messageArgs) Constructs a new instance withfields,messageIdandmessageArgs.BizLogicAppException(AppExceptionFields fields, String messageId, PropertyFileUtil.Arg[] messageArgs) Constructs a new instance withfields,messageIdandmessageArgs. -
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 "debug" loglevel.voidLogs message with "error" loglevel.voidLogs exception message with "error" loglevel.voidLogs message with "error" loglevel.voidLogs message with "error" loglevel.voidLogs message with "info" loglevel.voidLogs message with "info" loglevel.voidLogs message with "info" loglevel.voidLogs message with "trace" loglevel.voidLogs message with "trace" loglevel.voidLogs message with "warn" loglevel.voidLogs message with "warn" 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.static StringReturns the property value of default locale.static StringReturns the property value of default locale.static StringReturns the localized property value.static StringReturns the localized property value.static StringReturns the value in application_xxx.properties.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.static StringPropertyFileUtil.getEnumName(String key) Returns the enum name of default locale in enum_names_xxx.properties.static StringPropertyFileUtil.getEnumName(Locale locale, String key) Returns the localized enum name in enum_names_xxx.properties.ExceptionUtil.getErrLogShortString(Throwable throwable, String additionalMessage, Locale locale, int packagesShown) Returns strings or error log.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.static StringPropertyFileUtil.getItemName(String key) Returns the item name of default locale in item_names_xxx.properties.static StringPropertyFileUtil.getItemName(Locale locale, String key) Returns the localized item name in item_names_xxx.properties.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 of default locale in messages_xxx.properties.static StringReturns the value of default locale in messages_xxx.properties.static StringPropertyFileUtil.getMsg(String key, PropertyFileUtil.Arg[] args) Returns the value of default locale in messages_xxx.properties.static StringPropertyFileUtil.getMsg(String key, PropertyFileUtil.Arg[] args) Returns the value of default locale in messages_xxx.properties.static StringReturns the localized value in messages_xxx.properties.static StringReturns the localized value in messages_xxx.properties.static StringPropertyFileUtil.getMsg(Locale locale, String key, PropertyFileUtil.Arg[] args) Returns the localized value in messages_xxx.properties.static StringPropertyFileUtil.getMsg(Locale locale, String key, PropertyFileUtil.Arg[] args) Returns the localized value in messages_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).static StringPropertyFileUtil.getValidationMessage(String key, Map<String, String> argMap) Returns the property value of default locale in ValidationMessages[_locale].properties.static StringReturns the localized enum name in ValidationMessages[_locale].properties.static StringPropertyFileUtil.getValidationMessageWithField(String key, Map<String, String> argMap) Returns the property value of default locale in ValidationMessagesWithField_xxx.properties.static StringPropertyFileUtil.getValidationMessageWithField(Locale locale, String key, Map<String, String> argMap) Returns the localized enum name in enum_names_xxx.properties.static booleanReturns the existence of the key.static booleanReturns the existence of the key.static booleanReturns the existence of the key in application_xxx.properties.static booleanPropertyFileUtil.hasEnumName(String key) Returns the existence of the key in enam_names_xxx.properties.static booleanPropertyFileUtil.hasItemName(String key) Returns the existence of the key in item_names_xxx.properties.static booleanReturns the existence of the key in messages_xxx.properties.booleanChecks if file is locked.voidLogs throwable.voidLogs throwable.voidLogs throwable.voidLogs throwable.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.