public class IdCardTypeMocker extends AbstractTypeMocker<IdCard>
| Constructor and Description |
|---|
IdCardTypeMocker() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accept(IdCard annotation) |
protected Class[] |
getSupportedClasses() |
static char |
getVerifyChar(String idCardNumber) |
Object |
mock(IdCard mockAnnotation,
Type targetType) |
accept, getClassFromType, mockprotected Class[] getSupportedClasses()
getSupportedClasses in class AbstractTypeMocker<IdCard>protected boolean accept(IdCard annotation)
accept in class AbstractTypeMocker<IdCard>public Object mock(IdCard mockAnnotation, Type targetType)
mock in class AbstractTypeMocker<IdCard>public static char getVerifyChar(String idCardNumber)
Copyright © 2020. All rights reserved.