public final class SetPropertiesRuleProvider extends Object implements AnnotationRuleProvider<SetProperty,Field,SetPropertiesRule>
SetPropertiesRule.| Constructor and Description |
|---|
SetPropertiesRuleProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAlias(SetProperty annotation,
Field element)
Adds a new alias attribute/property name; if the attribute name is not
specified, the alias will be considered as property name identity.
|
SetPropertiesRule |
get()
Provides an instance of
Rule. |
void |
init(SetProperty annotation,
Field element)
Initializes the provider.
|
public void init(SetProperty annotation, Field element)
init in interface AnnotationRuleProvider<SetProperty,Field,SetPropertiesRule>annotation - the annotation instance.element - the annotated element reference.public void addAlias(SetProperty annotation, Field element)
annotation - the SetProperty reference.element - the annotated element reference.public SetPropertiesRule get()
Rule.
Must never return null.get in interface AnnotationRuleProvider<SetProperty,Field,SetPropertiesRule>Rule.Copyright © 2001–2021 The Apache Software Foundation. All rights reserved.