
package Mapper;

public class InstanceEventListener {
    /*! The set of possible actions on an instance, used to
     *  register callbacks to inform them of what is happening. */
    public final int IN_NEW = 0x01;
    public final int IN_UPSTREAM_RELEASE = 0x02;
    public final int IN_DOWNSTREAM_RELEASE = 0x04;
    public final int IN_OVERFLOW = 0x08;
    public final int IN_ALL = 0xFF;

    public void onEvent(Mapper.Device.Signal sig,
                        Mapper.Db.Signal props,
                        int instance_id,
                        int event) {};
}

@@ -178,32 +178,39 @@
 . */%0A    public 
+static 
 final int IN_NEW
@@ -221,32 +221,39 @@
 x01;%0A    public 
+static 
 final int IN_UPS
@@ -277,32 +277,39 @@
 x02;%0A    public 
+static 
 final int IN_DOW
@@ -335,32 +335,39 @@
 x04;%0A    public 
+static 
 final int IN_OVE
@@ -391,16 +391,23 @@
  public 
+static 
 final in

Declare instance event type flags static.