test_class.declarator: resolver = new MockHibernatePropertyResolver()
test_class.modifier: private final
test_class.original_string: private final HibernatePropertyResolver resolver = new MockHibernatePropertyResolver();
test_class.type: HibernatePropertyResolver
test_class.var_name: resolver
test_class.declarator: boxMaker = new SimpleBoxMaker()
test_class.modifier: private final
test_class.original_string: private final BoxMaker boxMaker = new SimpleBoxMaker();
test_class.type: BoxMaker
test_class.var_name: boxMaker
test_class.declarator: containsExpressionHandler = new ContainsExpressionNonHandler<String>()
test_class.modifier: private final
test_class.original_string: private final ContainsExpressionHandler<String> containsExpressionHandler = new ContainsExpressionNonHandler<String>();
test_class.type: ContainsExpressionHandler<String>
test_class.var_name: containsExpressionHandler
test_class.declarator: property = "propertyName"
test_class.modifier: private final
test_class.original_string: private final String property = "propertyName";
test_class.type: String
test_class.var_name: property
test_class.declarator: x = 1.0
test_class.modifier: private final
test_class.original_string: private final double x = 1.0;
test_class.type: double
test_class.var_name: x
test_class.declarator: y = 2.0
test_class.modifier: private final
test_class.original_string: private final double y = 2.0;
test_class.type: double
test_class.var_name: y
test_class.declarator: distance = 3.5
test_class.modifier: private final
test_class.original_string: private final double distance = 3.5;
test_class.type: double
test_class.var_name: distance
test_class.declarator: entityClass = Test.class
test_class.modifier: private final
test_class.original_string: private final Class<Test> entityClass = Test.class;
test_class.type: Class<Test>
test_class.var_name: entityClass
test_class.declarator: translator = new AbstractHibernateQueryTranslator<String, String, String>(
              String.class, String.class, resolver, boxMaker, containsExpressionHandler) {
  
          @Override
          public String eq(String fieldName, Object value) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String ne(String fieldName, Object value) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String lt(String fieldName, Object value) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String lte(String fieldName, Object value) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String gt(String fieldName, Object value) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String gte(String fieldName, Object value) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String between(String fieldName, Object from, Object to) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String in(String fieldName, Object[] values) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String notIn(String fieldName, Object[] values) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String contains(String fieldName, Object[] values) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String isNull(String fieldName) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String notNull(String fieldName) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String isEmpty(String fieldName) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String notEmpty(String fieldName) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String and(String... subqueries) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String or(String... subqueries) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String order(String fieldName, Order o) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String order(String... orders) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public <N extends Number & Comparable<N>> String within(
                  String xFieldName, String yFieldName, Box<N> box) {
              return join(Operator.WITHIN, xFieldName, yFieldName, box.toString());
          }
  
          @Override
          public <T, R> String translateProjection(Query<T, R> query) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          protected <T> String translate(NativeExpression e, Class<T> entityClass) {
              return e.getExpression().toString();
          }
          
      }
test_class.modifier: private final
test_class.original_string: private final AbstractHibernateQueryTranslator<String, String, String> translator = new AbstractHibernateQueryTranslator<String, String, String>(
              String.class, String.class, resolver, boxMaker, containsExpressionHandler) {
  
          @Override
          public String eq(String fieldName, Object value) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String ne(String fieldName, Object value) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String lt(String fieldName, Object value) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String lte(String fieldName, Object value) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String gt(String fieldName, Object value) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String gte(String fieldName, Object value) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String between(String fieldName, Object from, Object to) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String in(String fieldName, Object[] values) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String notIn(String fieldName, Object[] values) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String contains(String fieldName, Object[] values) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String isNull(String fieldName) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String notNull(String fieldName) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String isEmpty(String fieldName) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String notEmpty(String fieldName) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String and(String... subqueries) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String or(String... subqueries) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String order(String fieldName, Order o) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public String order(String... orders) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          public <N extends Number & Comparable<N>> String within(
                  String xFieldName, String yFieldName, Box<N> box) {
              return join(Operator.WITHIN, xFieldName, yFieldName, box.toString());
          }
  
          @Override
          public <T, R> String translateProjection(Query<T, R> query) {
              throw new RuntimeException("shouldn't be here");
          }
  
          @Override
          protected <T> String translate(NativeExpression e, Class<T> entityClass) {
              return e.getExpression().toString();
          }
          
      };
test_class.type: AbstractHibernateQueryTranslator<String, String, String>
test_class.var_name: translator
test_class.file: seeking-hibernate/src/test/java/com/eharmony/matching/seeking/translator/hibernate/AbstractHibernateQueryTranslatorTest.java
test_class.identifier: AbstractHibernateQueryTranslatorTest
test_case.body: @Test(expected = IllegalStateException.class)
      public void within_singleFieldName_IllegalStateException() {
          translator.within("field", new Point<Integer>(1, 1), 1);
      }
test_case.class_method_signature: AbstractHibernateQueryTranslatorTest.within_singleFieldName_IllegalStateException()
test_case.full_signature: @Test(expected = IllegalStateException.class) public void within_singleFieldName_IllegalStateException()
test_case.identifier: within_singleFieldName_IllegalStateException
test_case.invocations: within
test_case.modifiers: @Test(expected = IllegalStateException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void within_singleFieldName_IllegalStateException()
focal_class.declarator: boxMaker
focal_class.modifier: private final
focal_class.original_string: private final BoxMaker boxMaker;
focal_class.type: BoxMaker
focal_class.var_name: boxMaker
focal_class.declarator: containsExpressionHandler
focal_class.modifier: private final
focal_class.original_string: private final ContainsExpressionHandler<Q> containsExpressionHandler;
focal_class.type: ContainsExpressionHandler<Q>
focal_class.var_name: containsExpressionHandler
focal_class.file: seeking-hibernate/src/main/java/com/eharmony/matching/seeking/translator/hibernate/AbstractHibernateQueryTranslator.java
focal_class.identifier: AbstractHibernateQueryTranslator
focal_class.interfaces: implements QueryTranslator<Q, O, P>
focal_class.class_method_signature: AbstractHibernateQueryTranslator.AbstractHibernateQueryTranslator(Class<Q> queryClass,
              Class<O> orderClass, HibernatePropertyResolver propertyResolver,
              BoxMaker boxMaker,
              ContainsExpressionHandler<Q> containsExpressionHandler)
focal_class.full_signature: public  AbstractHibernateQueryTranslator(Class<Q> queryClass,
              Class<O> orderClass, HibernatePropertyResolver propertyResolver,
              BoxMaker boxMaker,
              ContainsExpressionHandler<Q> containsExpressionHandler)
focal_class.identifier: AbstractHibernateQueryTranslator
focal_class.modifiers: public
focal_class.parameters: (Class<Q> queryClass,
              Class<O> orderClass, HibernatePropertyResolver propertyResolver,
              BoxMaker boxMaker,
              ContainsExpressionHandler<Q> containsExpressionHandler)
focal_class.signature:  AbstractHibernateQueryTranslator(Class<Q> queryClass,
              Class<O> orderClass, HibernatePropertyResolver propertyResolver,
              BoxMaker boxMaker,
              ContainsExpressionHandler<Q> containsExpressionHandler)
focal_class.class_method_signature: AbstractHibernateQueryTranslator.getPropertyResolver()
focal_class.full_signature: protected HibernatePropertyResolver getPropertyResolver()
focal_class.identifier: getPropertyResolver
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: HibernatePropertyResolver
focal_class.signature: HibernatePropertyResolver getPropertyResolver()
focal_class.class_method_signature: AbstractHibernateQueryTranslator.getBoxMaker()
focal_class.full_signature: public BoxMaker getBoxMaker()
focal_class.identifier: getBoxMaker
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: BoxMaker
focal_class.signature: BoxMaker getBoxMaker()
focal_class.class_method_signature: AbstractHibernateQueryTranslator.getContainsExpressionHandler()
focal_class.full_signature: public ContainsExpressionHandler<Q> getContainsExpressionHandler()
focal_class.identifier: getContainsExpressionHandler
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ContainsExpressionHandler<Q>
focal_class.signature: ContainsExpressionHandler<Q> getContainsExpressionHandler()
focal_class.class_method_signature: AbstractHibernateQueryTranslator.translate(Distance2dExpression<N> e, Class<T> entityClass)
focal_class.full_signature: @Override protected Q translate(Distance2dExpression<N> e, Class<T> entityClass)
focal_class.identifier: translate
focal_class.modifiers: @Override protected
focal_class.parameters: (Distance2dExpression<N> e, Class<T> entityClass)
focal_class.return: Q
focal_class.signature: Q translate(Distance2dExpression<N> e, Class<T> entityClass)
focal_class.class_method_signature: AbstractHibernateQueryTranslator.within(String fieldName,
              Point<N> center, Number distance)
focal_class.full_signature: @Override public Q within(String fieldName,
              Point<N> center, Number distance)
focal_class.identifier: within
focal_class.modifiers: @Override public
focal_class.parameters: (String fieldName,
              Point<N> center, Number distance)
focal_class.return: Q
focal_class.signature: Q within(String fieldName,
              Point<N> center, Number distance)
focal_class.class_method_signature: AbstractHibernateQueryTranslator.within(
              String xFieldName, String yFieldName, Box<N> box)
focal_class.full_signature: public abstract Q within(
              String xFieldName, String yFieldName, Box<N> box)
focal_class.identifier: within
focal_class.modifiers: public abstract
focal_class.parameters: (
              String xFieldName, String yFieldName, Box<N> box)
focal_class.return: Q
focal_class.signature: Q within(
              String xFieldName, String yFieldName, Box<N> box)
focal_class.class_method_signature: AbstractHibernateQueryTranslator.contains(String fieldName, Object[] values)
focal_class.full_signature: @Override public Q contains(String fieldName, Object[] values)
focal_class.identifier: contains
focal_class.modifiers: @Override public
focal_class.parameters: (String fieldName, Object[] values)
focal_class.return: Q
focal_class.signature: Q contains(String fieldName, Object[] values)
focal_class.superclass: extends
          AbstractQueryTranslator<Q, O, P>
focal_method.body: @Override
      public <N extends Number & Comparable<N>> Q within(String fieldName,
              Point<N> center, Number distance) {
          throw new IllegalStateException(
                  "Cannot perform geometric queries using one field");
      }
focal_method.class_method_signature: AbstractHibernateQueryTranslator.within(String fieldName,
              Point<N> center, Number distance)
focal_method.full_signature: @Override public Q within(String fieldName,
              Point<N> center, Number distance)
focal_method.identifier: within
focal_method.modifiers: @Override public
focal_method.parameters: (String fieldName,
              Point<N> center, Number distance)
focal_method.return: Q
focal_method.signature: Q within(String fieldName,
              Point<N> center, Number distance)