public static class Contract.Default extends Contract.BaseContract
Contract.BaseContract, Contract.Default| 构造器和说明 |
|---|
Default() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
processAnnotationOnClass(MethodMetadata data,
java.lang.Class<?> targetType)
Called by parseAndValidateMetadata twice, first on the declaring class, then
on the target type (unless they are the same).
|
protected void |
processAnnotationOnMethod(MethodMetadata data,
java.lang.annotation.Annotation methodAnnotation,
java.lang.reflect.Method method) |
parseAndValidateMetadata, parseAndValidateMetadataprotected void processAnnotationOnClass(MethodMetadata data, java.lang.Class<?> targetType)
Contract.BaseContractprocessAnnotationOnClass 在类中 Contract.BaseContractdata - metadata collected so far relating to the current java method.targetType - the class to processprotected void processAnnotationOnMethod(MethodMetadata data, java.lang.annotation.Annotation methodAnnotation, java.lang.reflect.Method method)
processAnnotationOnMethod 在类中 Contract.BaseContractdata - metadata collected so far relating to the current java
method.methodAnnotation - annotations present on the current method annotation.method - method currently being processed.Copyright © 2019. All Rights Reserved.