test_class.declarator: ctop = AbstractCollection.class
test_class.modifier: private final
test_class.original_string: private final Class ctop = AbstractCollection.class;
test_class.type: Class
test_class.var_name: ctop
test_class.declarator: cmid = AbstractList.class
test_class.modifier: private final
test_class.original_string: private final Class cmid = AbstractList.class;
test_class.type: Class
test_class.var_name: cmid
test_class.declarator: clow = ArrayList.class
test_class.modifier: private final
test_class.original_string: private final Class clow = ArrayList.class;
test_class.type: Class
test_class.var_name: clow
test_class.declarator: normaliserTop = createTypeTransformerFake("normaliser Top")
test_class.modifier: private final
test_class.original_string: private final TypeTransformer normaliserTop = createTypeTransformerFake("normaliser Top");
test_class.type: TypeTransformer
test_class.var_name: normaliserTop
test_class.declarator: normaliserMid = createTypeTransformerFake("normaliser Mid")
test_class.modifier: private final
test_class.original_string: private final TypeTransformer normaliserMid = createTypeTransformerFake("normaliser Mid");
test_class.type: TypeTransformer
test_class.var_name: normaliserMid
test_class.declarator: normaliserLow = createTypeTransformerFake("normaliser Low")
test_class.modifier: private final
test_class.original_string: private final TypeTransformer normaliserLow = createTypeTransformerFake("normaliser Low");
test_class.type: TypeTransformer
test_class.var_name: normaliserLow
test_class.declarator: ttf = new TypeTransformerFactory()
test_class.modifier: private
test_class.original_string: private TypeTransformerFactory ttf = new TypeTransformerFactory();
test_class.type: TypeTransformerFactory
test_class.var_name: ttf
test_class.file: dbfit-java/core/src/test/java/dbfit/util/TypeTransformerFactoryTest.java
test_class.identifier: TypeTransformerFactoryTest
test_case.body: @Test
      public void normaliserLookupReturnsNullWhenNolExactMatchNorParents() {
          TypeTransformer normaliser = ttf.getTransformer(String.class);
          assertNull(normaliser);
      }
test_case.class_method_signature: TypeTransformerFactoryTest.normaliserLookupReturnsNullWhenNolExactMatchNorParents()
test_case.full_signature: @Test public void normaliserLookupReturnsNullWhenNolExactMatchNorParents()
test_case.identifier: normaliserLookupReturnsNullWhenNolExactMatchNorParents
test_case.invocations: getTransformer assertNull
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void normaliserLookupReturnsNullWhenNolExactMatchNorParents()
focal_class.declarator: transformers = new HashMap<Class<?>, TypeTransformer>()
focal_class.modifier: private
focal_class.original_string: private Map<Class<?>, TypeTransformer> transformers = new HashMap<Class<?>, TypeTransformer>();
focal_class.type: Map<Class<?>, TypeTransformer>
focal_class.var_name: transformers
focal_class.file: dbfit-java/core/src/main/java/dbfit/util/TypeTransformerFactory.java
focal_class.identifier: TypeTransformerFactory
focal_class.class_method_signature: TypeTransformerFactory.getCandidateIfAncestor(Class<?> target, Class<?> candidate)
focal_class.full_signature: private Class<?> getCandidateIfAncestor(Class<?> target, Class<?> candidate)
focal_class.identifier: getCandidateIfAncestor
focal_class.modifiers: private
focal_class.parameters: (Class<?> target, Class<?> candidate)
focal_class.return: Class<?>
focal_class.signature: Class<?> getCandidateIfAncestor(Class<?> target, Class<?> candidate)
focal_class.class_method_signature: TypeTransformerFactory.getCandidateIfBetter(Class<?> currentBest, Class<?> nextCandidate)
focal_class.full_signature: private Class<?> getCandidateIfBetter(Class<?> currentBest, Class<?> nextCandidate)
focal_class.identifier: getCandidateIfBetter
focal_class.modifiers: private
focal_class.parameters: (Class<?> currentBest, Class<?> nextCandidate)
focal_class.return: Class<?>
focal_class.signature: Class<?> getCandidateIfBetter(Class<?> currentBest, Class<?> nextCandidate)
focal_class.class_method_signature: TypeTransformerFactory.findClosestAncestor(Class<?> targetClass)
focal_class.full_signature: private Class<?> findClosestAncestor(Class<?> targetClass)
focal_class.identifier: findClosestAncestor
focal_class.modifiers: private
focal_class.parameters: (Class<?> targetClass)
focal_class.return: Class<?>
focal_class.signature: Class<?> findClosestAncestor(Class<?> targetClass)
focal_class.class_method_signature: TypeTransformerFactory.setTransformer(Class<?> targetClass, TypeTransformer normaliser)
focal_class.full_signature: public void setTransformer(Class<?> targetClass, TypeTransformer normaliser)
focal_class.identifier: setTransformer
focal_class.modifiers: public
focal_class.parameters: (Class<?> targetClass, TypeTransformer normaliser)
focal_class.return: void
focal_class.signature: void setTransformer(Class<?> targetClass, TypeTransformer normaliser)
focal_class.class_method_signature: TypeTransformerFactory.getTransformer(Class<?> targetClass)
focal_class.full_signature: public TypeTransformer getTransformer(Class<?> targetClass)
focal_class.identifier: getTransformer
focal_class.modifiers: public
focal_class.parameters: (Class<?> targetClass)
focal_class.return: TypeTransformer
focal_class.signature: TypeTransformer getTransformer(Class<?> targetClass)
focal_method.body: public TypeTransformer getTransformer(Class<?> targetClass) {
          TypeTransformer normaliser = transformers.get(targetClass);
  
          if (normaliser == null) {
              Class<?> bestCandidate = findClosestAncestor(targetClass);
  
              if (bestCandidate != null) {
                  normaliser = transformers.get(bestCandidate);
                  transformers.put(targetClass, normaliser);
              }
          }
  
          return normaliser;
      }
focal_method.class_method_signature: TypeTransformerFactory.getTransformer(Class<?> targetClass)
focal_method.full_signature: public TypeTransformer getTransformer(Class<?> targetClass)
focal_method.identifier: getTransformer
focal_method.invocations: get findClosestAncestor get put
focal_method.modifiers: public
focal_method.parameters: (Class<?> targetClass)
focal_method.return: TypeTransformer
focal_method.signature: TypeTransformer getTransformer(Class<?> targetClass)