code: private void catalogClass(JavaClass clz) {
          transactionalMethods = new HashMap<>();
          isEntity = false;
          hasId = false;
          hasGeneratedValue = false;
          hasEagerOneToMany = false;
          hasHCEquals = false;
  
          for (AnnotationEntry entry : clz.getAnnotationEntries()) {
              if ("Ljavax/persistence/Entity;".equals(entry.getAnnotationType())) {
                  isEntity = true;
                  break;
              }
          }
  
          for (Method m : clz.getMethods()) {
              catalogFieldOrMethod(m);
  
              if (("equals".equals(m.getName()) && SignatureBuilder.SIG_OBJECT_TO_BOOLEAN.equals(m.getSignature()))
                      || (Values.HASHCODE.equals(m.getName()) && SignatureBuilder.SIG_VOID_TO_INT.equals(m.getSignature()))) {
                  hasHCEquals = true;
              }
          }
  
          for (Field f : clz.getFields()) {
              catalogFieldOrMethod(f);
          }
      }
docs: parses the current class for spring-tx and jpa annotations, as well as hashCode and equals methods.
  
  @param clz
  the currently parsed class