public ArchEnum getArch() {
    if (isReference()) {
      final TargetDef refPlatform = (TargetDef) getCheckedRef(TargetDef.class, "TargetDef");
      return refPlatform.getArch();
    }
    return this.arch;
  }
public ArchEnum getArch ( ) { if ( isReference ( ) ) { final TargetDef refPlatform = ( TargetDef ) getCheckedRef ( TargetDef . class , "TargetDef" ) ; return refPlatform . getArch ( ) ; } return this . arch ; }
Gets arch.

@return arch, may be null.