sourceCode.addIndented("throw new RuntimeException(\"Unable to cast default value for simple content!\");");
sourceCode.add(" } ");
}
constructor.setSourceCode(sourceCode);
jClass.addConstructor(constructor);
}
/**
* Extract 'documentation' annotations from the {@link Annotated} instance given.
* @param annotated {@link Annotated} instance to extract annotations from.