if(options != null) {
if(local)
return new PELocalTargetResolver(options.getTargetName(),
options.getTargetDir(), local);
else
return new PERemoteTargetResolver(options.getTargetName(),
options.getTargetDir(), local);
}
throw new DiagnosticException("Null input for resolving target");