// !ADD_JAVA_API
package test;

import javaApi.*;

public class Test {
    private Listener listener = new Listener() {
        @Override
        public void onChange(int visibility) {
            int a = (visibility & 1)
        }
    }
}