Bug 20633 inner "new interface" in a class - why option "static"? [code manipulation]
When you add an inner interface to a class or interface, the "new interface" dialog offers a checkbox "static". Wether an inner interface is static or not does not make a bit of a difference. So the main effect that checkbox is likely to have is, it confuses Java-newcomers. "Could you please tell me what this decision I have to make means?" (Nothing.) Get rid of that checkbox.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/wizards/NewTypeWizardPage.java
type= jproject.findType(res[0][0], res[0][1]);
				}
			}
		} else {
			IPackageFragment currPack= getPackageFragment();
			if (type == null && currPack != null) {
				String packName= currPack.getElementName();
				
				if (!currPack.isDefaultPackage()) {
					type= jproject.findType(packName, sclassName);
				}
				
				if (type == null && !"java.lang".equals(packName)) { 
					type= jproject.findType("java.lang", sclassName); 
				}
			}
			
			if (type == null) {
				type= jproject.findType(sclassName);
			}
		}
		return type;
	}
	
	private IType findType(IJavaProject project, String typeName) throws JavaModelException {
		if (project.exists()) {
			return project.findType(typeName);
		}
		return null;
	}