public class DisassembleAnnotationHandler extends AbstractStandardOperationAnnotationHandler<Disassemble>
Annotation-based OperationAnnotationHandler implementation
that the construction of operation configuration
by resolving annotations based on Disassemble on classes and attributes.
DisassembleAbstractStandardOperationAnnotationHandler.StandardAnnotation<A>, AbstractStandardOperationAnnotationHandler.StandardAnnotationAdapter<A extends Annotation>| 限定符和类型 | 字段和说明 |
|---|---|
protected Crane4jGlobalConfiguration |
globalConfiguration |
annotationFinder, annotationType, operationComparator| 构造器和说明 |
|---|
DisassembleAnnotationHandler(AnnotationFinder annotationFinder,
Crane4jGlobalConfiguration globalConfiguration)
Create a
DisassembleAnnotationHandler instance. |
| 限定符和类型 | 方法和说明 |
|---|---|
protected @Nullable DisassembleOperation |
createOperation(BeanOperationParser parser,
BeanOperations beanOperations,
AbstractStandardOperationAnnotationHandler.StandardAnnotation<Disassemble> standardAnnotation)
Create assemble operation for given
element and annotation |
protected void |
doResolve(BeanOperations beanOperations,
List<KeyTriggerOperation> operations)
Do resolve for operations.
|
protected AbstractStandardOperationAnnotationHandler.StandardAnnotation<Disassemble> |
getStandardAnnotation(BeanOperations beanOperations,
AnnotatedElement element,
Disassemble annotation)
Get
StandardAnnotation. |
parseAnnotationForClass, parseAnnotationForElement, parseAnnotationForFields, parseAnnotationForMethods, parseGroups, parseId, parseKey, parseSort, resolveprotected final Crane4jGlobalConfiguration globalConfiguration
public DisassembleAnnotationHandler(AnnotationFinder annotationFinder, Crane4jGlobalConfiguration globalConfiguration)
Create a DisassembleAnnotationHandler instance.
The order of operation configurations is Sorted.getSort() from small to large.
annotationFinder - annotation finderglobalConfiguration - global configurationprotected void doResolve(BeanOperations beanOperations, List<KeyTriggerOperation> operations)
doResolve 在类中 AbstractStandardOperationAnnotationHandler<Disassemble>beanOperations - bean operationsoperations - operationsprotected @Nullable DisassembleOperation createOperation(BeanOperationParser parser, BeanOperations beanOperations, AbstractStandardOperationAnnotationHandler.StandardAnnotation<Disassemble> standardAnnotation)
element and annotationcreateOperation 在类中 AbstractStandardOperationAnnotationHandler<Disassemble>parser - bean operation parserbeanOperations - bean operations to resolvestandardAnnotation - standard annotationKeyTriggerOperation instance if element and annotation are resolvable, null otherwiseprotected AbstractStandardOperationAnnotationHandler.StandardAnnotation<Disassemble> getStandardAnnotation(BeanOperations beanOperations, AnnotatedElement element, Disassemble annotation)
StandardAnnotation.getStandardAnnotation 在类中 AbstractStandardOperationAnnotationHandler<Disassemble>beanOperations - bean operationselement - elementannotation - annotationStandardAnnotation instanceCopyright © 2024. All rights reserved.