code: public CompilerInput getByName(String name) {
      for (CompilerInput input : inputs) {
        if (name.equals(input.getName())) {
          return input;
        }
      }
      return null;
    }
docs: Returns the input with the given name or null if none.