test_class.declarator: resolver = new SimpleHibernateEntityResolver()
test_class.modifier: private final
test_class.original_string: private final SimpleHibernateEntityResolver resolver = new SimpleHibernateEntityResolver();
test_class.type: SimpleHibernateEntityResolver
test_class.var_name: resolver
test_class.file: seeking-hibernate/src/test/java/com/eharmony/matching/seeking/translator/hibernate/SimpleHibernateEntityResolverTest.java
test_class.identifier: SimpleHibernateEntityResolverTest
test_case.body: @Test
      public void resolve_collectionName_table() {
          assertEquals("with", resolver.resolve(Yes.class));
      }
test_case.class_method_signature: SimpleHibernateEntityResolverTest.resolve_collectionName_table()
test_case.full_signature: @Test public void resolve_collectionName_table()
test_case.identifier: resolve_collectionName_table
test_case.invocations: assertEquals resolve
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void resolve_collectionName_table()
focal_class.file: seeking-hibernate/src/main/java/com/eharmony/matching/seeking/translator/hibernate/SimpleHibernateEntityResolver.java
focal_class.identifier: SimpleHibernateEntityResolver
focal_class.interfaces: implements EntityResolver
focal_class.class_method_signature: SimpleHibernateEntityResolver.resolve(Class<?> entityClass)
focal_class.full_signature: @Override public String resolve(Class<?> entityClass)
focal_class.identifier: resolve
focal_class.modifiers: @Override public
focal_class.parameters: (Class<?> entityClass)
focal_class.return: String
focal_class.signature: String resolve(Class<?> entityClass)
focal_class.superclass: extends SimpleEntityResolver
focal_method.body: @Override
      public String resolve(Class<?> entityClass) {
          if (entityClass.isAnnotationPresent(Table.class)) {
              Table annotation = entityClass.getAnnotation(Table.class);
              if (!Strings.isNullOrEmpty(annotation.name())) {
                  return annotation.name();
              }
          }
          if (entityClass.isAnnotationPresent(Entity.class)) {
              Entity annotation = entityClass.getAnnotation(Entity.class);
              if (!Strings.isNullOrEmpty(annotation.name())) {
                  return annotation.name();
              }
          }
          return entityClass.getSimpleName();
      }
focal_method.class_method_signature: SimpleHibernateEntityResolver.resolve(Class<?> entityClass)
focal_method.full_signature: @Override public String resolve(Class<?> entityClass)
focal_method.identifier: resolve
focal_method.invocations: isAnnotationPresent getAnnotation isNullOrEmpty name name isAnnotationPresent getAnnotation isNullOrEmpty name name getSimpleName
focal_method.modifiers: @Override public
focal_method.parameters: (Class<?> entityClass)
focal_method.return: String
focal_method.signature: String resolve(Class<?> entityClass)