索引
常量字段值|所有程序包|所有类和接口
C
- clear() - 类中的静态方法 io.github.tcq1007.valid.errorcode.util.ErrorCodeRegistry
-
Clear the registry.
- codeField() - 批注接口 中的元素 io.github.tcq1007.valid.errorcode.ValidErrorCode
-
Specifies the name of the field within the enum constant that holds the error code.
- CONSTRUCTOR_ARGUMENTS - 类中的静态变量 io.github.tcq1007.valid.errorcode.constants.RegexPatterns
-
Pattern for extracting constructor arguments.
D
- DUPLICATE_ERROR_CODE - 类中的静态变量 io.github.tcq1007.valid.errorcode.constants.ErrorMessages
-
Error message when a duplicate error code is found.
E
- ENUM_CONSTRUCTOR_FIRST_INT - 类中的静态变量 io.github.tcq1007.valid.errorcode.constants.RegexPatterns
-
Pattern for matching enum constructor with the first integer parameter.
- EnumFieldFinder - io.github.tcq1007.valid.errorcode.util中的类
-
Utility class for finding fields in enum classes
- ERROR_CODE_FIELD_MUST_BE_INT - 类中的静态变量 io.github.tcq1007.valid.errorcode.constants.ErrorMessages
-
Error message when the error code field must be of int type.
- ERROR_CODE_FIELD_NOT_FOUND - 类中的静态变量 io.github.tcq1007.valid.errorcode.constants.ErrorMessages
-
Error message when the error code field is not found.
- ERROR_CODE_LENGTH_MISMATCH - 类中的静态变量 io.github.tcq1007.valid.errorcode.constants.ErrorMessages
-
Error message when the error code length does not match the expected length.
- ERROR_CODE_PREFIX_MISMATCH - 类中的静态变量 io.github.tcq1007.valid.errorcode.constants.ErrorMessages
-
Error message when the error code prefix does not match the expected prefix.
- ErrorCodeExtractor - io.github.tcq1007.valid.errorcode.util中的类
-
Utility class for extracting error code values from enum constants
- ErrorCodeProcessor - io.github.tcq1007.valid.errorcode中的类
-
Annotation processor for validating error codes in enum classes.
- ErrorCodeProcessor() - 类的构造器 io.github.tcq1007.valid.errorcode.ErrorCodeProcessor
-
Constructs a new ErrorCodeProcessor.
- ErrorCodeRegistry - io.github.tcq1007.valid.errorcode.util中的类
-
Registry for tracking and validating uniqueness of error codes across the codebase.
- ErrorCodeRegistry() - 类的构造器 io.github.tcq1007.valid.errorcode.util.ErrorCodeRegistry
- ErrorCodeValidationConfig - io.github.tcq1007.valid.errorcode中的类
-
Configuration class for error code validation
- ErrorCodeValidationConfig(ValidErrorCode) - 类的构造器 io.github.tcq1007.valid.errorcode.ErrorCodeValidationConfig
- ErrorCodeValidator - io.github.tcq1007.valid.errorcode.util中的类
-
Utility class for validating error code format and rules.
- ErrorMessages - io.github.tcq1007.valid.errorcode.constants中的类
-
Constants for error messages used in error code validation
- excludeValues() - 批注接口 中的元素 io.github.tcq1007.valid.errorcode.ValidErrorCode
-
An array of integer values that will skip validation.
- extractErrorCodeValue(Element, String, Trees) - 类中的静态方法 io.github.tcq1007.valid.errorcode.util.ErrorCodeExtractor
-
Extract error code value from enum constant using multiple strategies
F
- findErrorCodeField(Element, String) - 类中的静态方法 io.github.tcq1007.valid.errorcode.util.EnumFieldFinder
-
Find the error code field in an enum constant by field name
- findFieldIndexInConstructor(Element, String) - 类中的静态方法 io.github.tcq1007.valid.errorcode.util.EnumFieldFinder
-
Find the index position of a field in the constructor parameters
G
- getCodeField() - 类中的方法 io.github.tcq1007.valid.errorcode.ErrorCodeValidationConfig
- getErrorCodeDefinition(String) - 类中的静态方法 io.github.tcq1007.valid.errorcode.util.ErrorCodeRegistry
-
Get the element where an error code was first defined.
- getExcludeValues() - 类中的方法 io.github.tcq1007.valid.errorcode.ErrorCodeValidationConfig
- getLength() - 类中的方法 io.github.tcq1007.valid.errorcode.ErrorCodeValidationConfig
- getPrefix() - 类中的方法 io.github.tcq1007.valid.errorcode.ErrorCodeValidationConfig
I
- init(ProcessingEnvironment) - 类中的方法 io.github.tcq1007.valid.errorcode.ErrorCodeProcessor
-
Initializes the processor with the processing environment.
- INITIALIZING_PROCESSOR - 类中的静态变量 io.github.tcq1007.valid.errorcode.constants.ErrorMessages
-
Log message for initializing the ErrorCodeProcessor.
- INVALID_ERROR_CODE_FORMAT - 类中的静态变量 io.github.tcq1007.valid.errorcode.constants.ErrorMessages
-
Error message when the error code format is invalid.
- INVALID_ERROR_CODE_LENGTH - 类中的静态变量 io.github.tcq1007.valid.errorcode.constants.ErrorMessages
-
Error message when the error code length is invalid.
- INVALID_ERROR_CODE_PREFIX - 类中的静态变量 io.github.tcq1007.valid.errorcode.constants.ErrorMessages
-
Error message when the error code prefix is invalid.
- io.github.tcq1007.valid.errorcode - 程序包 io.github.tcq1007.valid.errorcode
- io.github.tcq1007.valid.errorcode.constants - 程序包 io.github.tcq1007.valid.errorcode.constants
- io.github.tcq1007.valid.errorcode.util - 程序包 io.github.tcq1007.valid.errorcode.util
- isIntegerField(VariableElement) - 类中的静态方法 io.github.tcq1007.valid.errorcode.util.EnumFieldFinder
-
Validate that the error code field is of int type
- isUniqueErrorCode(String, Element) - 类中的静态方法 io.github.tcq1007.valid.errorcode.util.ErrorCodeRegistry
-
Checks if an error code is unique across all processed enums.
L
- length() - 批注接口 中的元素 io.github.tcq1007.valid.errorcode.ValidErrorCode
-
Configurable total length for the error code (in digits).
N
- NON_DIGIT_EXCEPT_MINUS - 类中的静态变量 io.github.tcq1007.valid.errorcode.constants.RegexPatterns
-
Pattern for removing non-digit characters except the minus sign.
O
- ONLY_ENUM_CLASSES_ALLOWED - 类中的静态变量 io.github.tcq1007.valid.errorcode.constants.ErrorMessages
-
Error message when only enum classes are allowed to use @ValidErrorCode annotation.
P
- prefix() - 批注接口 中的元素 io.github.tcq1007.valid.errorcode.ValidErrorCode
-
Configurable prefix for the error code.
- process(Set<? extends TypeElement>, RoundEnvironment) - 类中的方法 io.github.tcq1007.valid.errorcode.ErrorCodeProcessor
-
Processes the annotations found in the source files.
- PROCESSING_ANNOTATIONS - 类中的静态变量 io.github.tcq1007.valid.errorcode.constants.ErrorMessages
-
Log message for processing ErrorCodeProcessor annotations.
R
- RegexPatterns - io.github.tcq1007.valid.errorcode.constants中的类
-
Constants for regex patterns used in error code extraction
- reportError(Element, String, Messager) - 类中的静态方法 io.github.tcq1007.valid.errorcode.util.ErrorCodeValidator
-
Report a general error message
S
- shouldExcludeFromValidation(Integer, int[]) - 类中的静态方法 io.github.tcq1007.valid.errorcode.util.ErrorCodeValidator
-
Determines if a value should be excluded from validation.
U
- UNABLE_TO_EXTRACT_ERROR_CODE - 类中的静态变量 io.github.tcq1007.valid.errorcode.constants.ErrorMessages
-
Error message when unable to extract error code value from enum constant.
V
- validateErrorCodeFormat(Element, int, String, int, String, Messager) - 类中的静态方法 io.github.tcq1007.valid.errorcode.util.ErrorCodeValidator
-
Validates the format of an error code according to specified rules.
- validateErrorCodeUniqueness(String, Element, Messager) - 类中的静态方法 io.github.tcq1007.valid.errorcode.util.ErrorCodeValidator
-
Validates the uniqueness of an error code.
- ValidErrorCode - io.github.tcq1007.valid.errorcode中的批注接口
-
Custom annotation for marking enums that need error code validation.
常量字段值|所有程序包|所有类和接口