protected ReflectionService getReflectionService() {
   if (reflectionService != null) {
     return reflectionService;
   } else {
     return ReflectionService.newInstance(disableAsm, useAsm);
   }
 }
Beispiel #2
0
  private void typeMetaHasTheSpecifiedClassEmptyConstructor(
      TypeReference<?> typeReference, Class<?> impl) throws NoSuchMethodException {
    final ClassMeta<List<String>> classMeta =
        ReflectionService.newInstance().getClassMeta(typeReference.getType());

    hasOneInstantiatorDefinitionWithEmptyConstructorOnImpl(classMeta, impl);
  }