code: public Node getNode() {
          if (node == null) {
              if (resource != null) {
                  node = resource.adaptTo(Node.class);
              }
          }
          return node;
      }
docs: lazy getter for the node of this resource (if present, not useful for synthetic resources)
  
  @return the node object or <code>null</code> if not available