super(logger, context, source, JSON_ENCODER_SUFFIX);
}
@Override
public void generate() throws UnableToCompleteException {
final JsonTypeInfo typeInfo = getAnnotation(source, JsonTypeInfo.class);
final boolean isLeaf = isLeaf(source);
final List<Subtype> possibleTypes = getPossibleTypes(typeInfo, isLeaf);
final JClassType sourceClazz = source.isClass() == null ? source.isInterface() : source.isClass();