@Test public void testHadoopEnter() { assertEquals( HadoopEnterDialog.class.getCanonicalName(), DialogClassUtil.getDialogClassName( HadoopEnterMeta.class ) ); }
public static String getDialogClassName( Class<?> clazz ) { String className = clazz.getCanonicalName().replace( PKG_NAME, UI_PKG_NAME ); if ( className.endsWith( "Meta" ) ) { className = className.substring( 0, className.length() - 4 ); } className = className + "Dialog"; return className; }
DialogClassUtil { public static String getDialogClassName( Class<?> clazz ) { String className = clazz.getCanonicalName().replace( PKG_NAME, UI_PKG_NAME ); if ( className.endsWith( "Meta" ) ) { className = className.substring( 0, className.length() - 4 ); } className = className + "Dialog"; return className; } }
DialogClassUtil { public static String getDialogClassName( Class<?> clazz ) { String className = clazz.getCanonicalName().replace( PKG_NAME, UI_PKG_NAME ); if ( className.endsWith( "Meta" ) ) { className = className.substring( 0, className.length() - 4 ); } className = className + "Dialog"; return className; }  }
DialogClassUtil { public static String getDialogClassName( Class<?> clazz ) { String className = clazz.getCanonicalName().replace( PKG_NAME, UI_PKG_NAME ); if ( className.endsWith( "Meta" ) ) { className = className.substring( 0, className.length() - 4 ); } className = className + "Dialog"; return className; }  static String getDialogClassName( Class<?> clazz ); }
DialogClassUtil { public static String getDialogClassName( Class<?> clazz ) { String className = clazz.getCanonicalName().replace( PKG_NAME, UI_PKG_NAME ); if ( className.endsWith( "Meta" ) ) { className = className.substring( 0, className.length() - 4 ); } className = className + "Dialog"; return className; }  static String getDialogClassName( Class<?> clazz );  }