此内容没有您所选择的语言版本。
13.2. POJO Example
This is what the bean property looks like:
Person( age == 50 )
// this is the same as:
Person( getAge() == 50 )
- The age property
- The age property is written as
agein DRL instead of the gettergetAge() - Property accessors
- You can use property access (
age) instead of getters explicitly (getAge()) because of performance enhancements through field indexing.