@Retention(value=RUNTIME) @Target(value=FIELD) public @interface RecomputeFieldValue
This annotation must be used on a field also annotated with Alias to specify the field
whose value need to be changed.
| Modifier and Type | Required Element and Description |
|---|---|
RecomputeFieldValue.Kind |
kind
The kind of the recomputation performed.
|
| Modifier and Type | Optional Element and Description |
|---|---|
Class<?> |
declClass
The class parameter for the recomputation.
|
String |
declClassName
The class parameter for the recomputation.
|
boolean |
isFinal
Treat the value as final, to enforce constant folding already during static analysis.
|
String |
name
The name parameter for the recomputation.
|
public abstract RecomputeFieldValue.Kind kind
public abstract Class<?> declClass
declClassName() is used. If neither declClass() nor
declClassName() is specified, then the class specified by the TargetClass
annotation is used.public abstract String declClassName
declClass() is used. If neither declClass() nor
declClassName() is specified, then the class specified by the TargetClass
annotation is used.public abstract String name
Copyright © 2018. All rights reserved.