VirtualFile (String innerName, VirtualFile outerClass) { String baseName = outerClass.getNameWithoutExtension(); VirtualFile child = outerClass.getParent().findChild(baseName + "$" + innerName + ".class"); // stray inner classes should be filtered out assert child != null : innerName + " is not an inner class of " + outerClass; return child; }