ExternalLibraryDescriptor (@NotNull String packageName) { if (packageName.equals("org.junit")) { return JUnitExternalLibraryDescriptor.JUNIT4; } if (packageName.equals("junit.framework")) { return JUnitExternalLibraryDescriptor.JUNIT3; } return null; }