ClassInfo (String superClass, String[] superInterfaces) { ClassInfo result = new ClassInfo(); result.typeParameters = TypeParametersDeclaration.EMPTY; if (superClass != null) { result.superType = myFirstPassData.toTypeInfo(superClass, false); } else { result.superType = null; } result.interfaces = myFirstPassData.createTypes(superInterfaces); return result; }