Default verbalization in English
The following table shows the default verbalization of vocabulary elements.
| Java™ element | Default verbalization |
|---|---|
|
Classes For example: org.acme.Customer |
Class name in lowercase For example: customer |
|
Constructors See Constructors For example: @BeanConstructor Customer(String firstName, String lastName); |
a new <type> [where <attribute> is <value> ( , <attribute> is <value>)* ] For example: a new customer where the first name is "John", the last name is "Doe" |
|
Getters (fields or methods of type For example: int getAge() or int age or finale String name; |
{XXX} of {this} For example: {age} of {this}
or {name} of {this}
|
|
Boolean getters (fields or methods of type For example: boolean isAccepted() or boolean accepted |
Affirmative {this} is XXX For example: {this} is accepted
Negative {this} is not XXX For example: {this} is not accepted
|
|
Setters (non final fields or void methods of type For example: void setDiscount(int discount) or int discount |
set the XXX of {this} to {0} For example: set the discount of {this} to {discount}
|
|
Boolean setters (non final fields or void methods of type For example: void setAccepted(boolean b) or boolean accepted |
Affirmative {this} gets XXX For example: {this} gets accepted
Negative {this} does not get XXX For example: {this} does not get accepted
Conditional {this} gets XXX only if {XXX} For example: {this} gets accepted only if {accepted}
The make it {0} that {this} is XXX syntax is now deprecated. |
|
Collections See Collections For example: List<Address> getAddresses()
@CollectionAttribute("addresses")
void addAddress(Address address)
@CollectionAttribute("addresses")
void removeAddress(Address address)
@CollectionAttribute("addresses")
void clearAddresses()
|
For
example:add {0} to the addresses of {this}
or remove {0} from the addresses of {this}
or clear the addresses of {this}
|
| Numbers (fields, or getter or setter methods) For example: int getDiscount() or void setDiscount(int discount) or int discount |
For example: add {number} to the discount of {this}
or subtract {number} from the discount of {this}
|
|
All other methods For example: void displayMessage(String) |
Code-like verbalization, that is, the method signature, without subjects. For example: {this}.displayMessage({0})
|
|
Static references (public static final attribute of a class with same type as this class) For example: Minivan |
Name of the static reference For example: Minivan |