Hi, I am looking for annotation which to generate get/set methods and to do property change notification. Is there something like that?
For example:
@FieldAccess(access=FieldAccessType.ReadWrite, propertyChangeSupport=true)
class A
{
private int int1;
@FieldAccess(access=FieldAccessType.Read, propertyChangeSupport=false)
private int int2;
public static void main(String[] args)
{
A a = new A();
a.setInt1(1);
a.getInt1();
a.getInt2();
// Set Int2 is not available
// a.setInt2(2);
}
}
Miro.
