code: @Override
      public <Y> SingularAttribute<? super X, Y> getSingularAttribute(String paramString, Class<Y> paramClass)
      {
          SingularAttribute<? super X, Y> attribute = getDeclaredSingularAttribute(paramString, paramClass, false);
          if (superClazzType != null && attribute == null)
          {
              return superClazzType.getSingularAttribute(paramString, paramClass);
          }
          checkForValid(paramString, attribute);
          return attribute;
      }
docs: /*
  (non-Javadoc)
  
  @see
  javax.persistence.metamodel.ManagedType#getSingularAttribute(java.lang
  .String, java.lang.Class)