Hi Everyone

May be even Tor can help.

Has anyone come across a name value pattern plugin for NetBeans or
Eclipse IDE?
Given a class like this:

class Node {
     private float x;
     private float y;
     private float z;
}

The plugin generates the accessors and builder chain mutators

class Node {
     private float x;
     private float y;
     private float z;

     public float getX() { return x; }
     public Node setX( float x ) { this.x = x; return this }
     public float getY() { return x; }
     public Node setY( float y ) { this.y = y; return this }
     public float getZ() { return z; }
     public Node setZ( float z ) { this.z = z; return this }
}

TIA

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to