View Javadoc

1   package net.sourceforge.pmd.typeresolution.testdata;
2   
3   import java.util.AbstractList;
4   import java.util.List;
5   
6   public class AnonymousInnerClass {
7   	List<Object> list = new AbstractList<Object>() {
8   		@Override
9   		public Object get(int index) {
10  			return null;
11  		}
12  
13  		@Override
14  		public int size() {
15  			return 0;
16  		}
17  	};
18  }