@Override
    @Nullable TypeParameterElement getElement(Elements elementUtils) {
      Parameterizable enclosingElement =
          (Parameterizable) enclosingElementFactory.getElement(elementUtils);
      if (enclosingElement == null) {
        return null;
      }
      return enclosingElement.getTypeParameters().stream()
          .filter(typeParamElement -> toString.equals(typeParamElement.toString()))
          .collect(onlyElement());
    }
Saves the Element reference and returns it when inquired, with the hope that the same object
still represents that element, or the required information is present.
common/src/main/java/com/google/auto/common/BasicAnnotationProcessor.java