public final class BeanPropertySetterRuleProvider extends Object implements AnnotationRuleProvider<BeanPropertySetter,Field,BeanPropertySetterRule>
BeanPropertySetterRule
.Constructor and Description |
---|
BeanPropertySetterRuleProvider() |
Modifier and Type | Method and Description |
---|---|
BeanPropertySetterRule |
get()
Provides an instance of
Rule . |
void |
init(BeanPropertySetter annotation,
Field element)
Initializes the provider.
|
public void init(BeanPropertySetter annotation, Field element)
init
in interface AnnotationRuleProvider<BeanPropertySetter,Field,BeanPropertySetterRule>
annotation
- the annotation instance.element
- the annotated element reference.public BeanPropertySetterRule get()
Rule
.
Must never return null.get
in interface AnnotationRuleProvider<BeanPropertySetter,Field,BeanPropertySetterRule>
Rule
.Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.