@Retention(value=RUNTIME) @Target(value={FIELD,TYPE,METHOD,ANNOTATION_TYPE,PARAMETER}) public static @interface Mock.Char
支持的类型, char及其包装类,String
模拟优先级: - value() 为非0元素集合,则在集合范围内模拟 - range() 为有长度的字符串时,在字符串的字符中模拟 - 默认:'0'-'9','A'-'Z','a'-'z' 中模拟
| Modifier and Type | Fields and Description |
|---|---|
static String |
DEFAULT_CHAR_RANGE |
| Modifier and Type | Optional Element and Description |
|---|---|
String |
range |
CharCodeSet[] |
value |
public static final String DEFAULT_CHAR_RANGE
public abstract CharCodeSet[] value
CharCodeSetpublic abstract String range
Copyright © 2020. All rights reserved.