Skip to content

Object Inline

The inline declaration of object like

 COConfigurationManager.addParameterListener( port_enable_config_key, new ParameterListener() {
        public void parameterChanged(String parameterName) {
          restart();
        }
      });

force the declaration of the inner method

public void parameterChanged(String parameterName)

to be put under the main class 😰