java non public interface