@ArgAutoOperate({
@AutoOperate(value = "list", type = A.class),
@AutoOperate(value = "b", type = B.class)
})
public void doSomething(List list, B b) {
// do something
}
or:
@ArgAutoOperate
public void doSomething(
@AutoOperate(value = "list", type = A.class) List list,
@AutoOperate(value = "b", type = B.class) B b) {
// do something
}
NOTE:The annotation configuration on the parameter
takes precedence over the annotation configuration on the method.AnnotatedElement to indicate that
after a specific step, the instance corresponding to the element
will automatically complete the filling operation.Assemble.propTemplates() by specifying the annotated class.Copyright © 2024. All rights reserved.