View Javadoc

1   package net.sourceforge.pmd.typeresolution.testdata;
2   
3   public enum EnumWithAnonymousInnerClass {
4       A;
5       interface Inner { int get(); }
6       private static final Inner VAL = new Inner() {
7           @Override public int get() { return 1; }
8       };
9   }