@CustomProperties
You use the @CustomProperties annotation
to set several properties to a class, a member, or a parameter.
Purpose
Sets several properties on a class, a member, or a parameter.
Syntax
@CustomProperties(names={<strings>},values={<strings>})
Description
The @CustomProperties annotation sets several properties on a class, a member, or a parameter.
You can use any BOM property.
Example
In the XOM, the annotation can be used as follows:
public class Customer {
@CustomProperties(names = {"java_length", "other" }, values = { "9", "true"})
public String getName() {...}
}The result in the BOM is the following code:
class Customer {
Customer(string name)
property java_length "9"
property other "true";
readonly string name;
}