public void populateFromObj(ClassObj obj) {
    for (InterfaceObj iobj : obj.getImpls()) {
      addInterfaceObj(iobj);
    }
    addInterfaceObj(obj.getPrimaryImpl());
    addImports(obj.getImports());
    setPackageName(obj.getFullPackageName());
    setProperty(CLASS_OBJ_PROP, obj);
    if (obj.getSuperClass() != null) {
      setSuperClass(obj.getSuperClass());
    }
    populateFromObj((ModelObj) obj);
  }
public void populateFromObj ( ClassObj obj ) { for ( InterfaceObj iobj : obj . getImpls ( ) ) { addInterfaceObj ( iobj ) ; } addInterfaceObj ( obj . getPrimaryImpl ( ) ) ; addImports ( obj . getImports ( ) ) ; setPackageName ( obj . getFullPackageName ( ) ) ; setProperty ( CLASS_OBJ_PROP , obj ) ; if ( obj . getSuperClass ( ) != null ) { setSuperClass ( obj . getSuperClass ( ) ) ; } populateFromObj ( ( ModelObj ) obj ) ; }
Public