@Override
    public CharSequence getCharContent(boolean ignoreEncodingErrors) {
        return contents;
    }
MemSourceFileObject defines a in-memory Java source file object

@author tiwe
querydsl-codegen-utils/src/main/java/com/querydsl/codegen/utils/MemSourceFileObject.java