I use null objects a lot and that means i've got m...
# language-proposals
g
I use null objects a lot and that means i've got more than a couple java classes that are simple
Copy code
public class X{
  public static class Null extends X{
    @Override void doWhatever(int first, double second, DomainModel third){
      throw new UnsupportedOperationException("doWhatever")
    }
  }
}