code: protected Variable getImportedVar(final String name) throws UtilEvalError {
          Variable var = null;
          // Try object imports
          for (final Object object : this.importedObjects) {
              final Invocable field = Reflect.resolveJavaField(object.getClass(),
                      name, false/* onlyStatic */);
              if (field != null)
                  var = this.createVariable(name, field.getReturnType(), new LHS(object, field));
              else if (this.isClass) {
                  // try find inherited loose-typed instance fields
                  Class<?> supr = object.getClass();
                  while (Reflect.isGeneratedClass(supr = supr.getSuperclass())) {
                      This ths = Reflect.getClassInstanceThis(object, supr.getSimpleName());
                      if (null != ths && null != (var = ths.getNameSpace().variables.get(name)))
                          break;
                  }
              }
              if (null != var) {
                  this.variables.put(name, var);
                  return var;
              }
          }
          // Try static imports
          for (final Class<?> stat : this.importedStatic) {
              final Invocable field = Reflect.resolveJavaField(stat,
                      name, true/* onlyStatic */);
              if (field != null) {
                  var = this.createVariable(name, field.getReturnType(),
                          new LHS(field));
                  this.variables.put(name, var);
                  return var;
              }
          }
          return null;
      }
docs: Gets the imported var.
  @param name the name
  @return the imported var
  @throws UtilEvalError the util eval error