@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface OdinField
ObjectType
, so :
@OdinField(name = "custom field")
Test test;
Is known only as "custom field" by ObjectType.getField(String)
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
name
Change the name of this field in Odin
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String[] |
comments
Add comments to be write before the field by the default object adapter.
|