Introducing opt-in requirements for Java APIs