@Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) public @interface ExcludeFromRuleKey
AddToRuleKey
.Modifier and Type | Required Element and Description |
---|---|
Class<? extends CustomFieldInputsTag> |
inputs
Indicates how inputs should be derived from this field.
|
Class<? extends CustomFieldSerializationTag> |
serialization
Indicates how serialization of this field should be handled.
|
Modifier and Type | Optional Element and Description |
---|---|
Class<? extends CustomFieldDepsTag> |
deps
Indicates how deps should be derived from this field.
|
String |
reason
This indicates the reason we exclude a value from rulekeys.
|
boolean |
shouldReport
We really do think that using this annotation indicates a likely source of problems.
|
public abstract Class<? extends CustomFieldSerializationTag> serialization
DefaultFieldSerialization
If serialization cannot possibly be supported, use ThrowingSerialization
.public abstract Class<? extends CustomFieldInputsTag> inputs
DefaultFieldInputs
. If this field should not contribute to inputs, use IgnoredFieldInputs
.public abstract String reason
public abstract Class<? extends CustomFieldDepsTag> deps
DefaultFieldDeps
. If this field should not contribute to deps, use IgnoredFieldDeps
.
If you would like to provide custom logic, see CustomFieldDeps
.