JavaChangeInfo (ChangeInfo changeInfo, UsageInfo usageInfo) { if (changeInfo instanceof JavaChangeInfo) { return (JavaChangeInfo)changeInfo; } else { JavaChangeInfoConverter converter = findConverter(changeInfo.getLanguage()); if (converter != null) { return converter.toJavaChangeInfo(changeInfo, usageInfo); } } return null; }