// The mapping Method
jw.beginMethod("void", "inject", EnumSet.of(Modifier.PUBLIC), "Object", "target");
jw.emitEmptyLine();
jw.emitStatement("Class<?> targetClass = target.getClass()");
jw.emitStatement("String targetName = targetClass.getCanonicalName()");
for (Map.Entry<String, String> entry : mapping.entrySet()) {
jw.emitEmptyLine();
jw.beginControlFlow("if ( \"%s\".equals(targetName) )", entry.getKey());