索引
常量字段值|所有程序包|所有类和接口
C
- 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.
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 enums.
- ErrorCodeProcessor() - 类的构造器 io.github.tcq1007.valid.errorcode.ErrorCodeProcessor
-
Constructs a new ErrorCodeProcessor.
- 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
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.
- 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
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
-
Check 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
-
Validate error code format according to specified rules
- ValidErrorCode - io.github.tcq1007.valid.errorcode中的批注接口
-
Custom annotation for marking enums that need error code validation.
常量字段值|所有程序包|所有类和接口