use of org.infinispan.protostream.annotations.impl.processor.types.HasModelElement in project protostream by infinispan.
the class MarshallerSourceCodeGenerator method emitSource.
private void emitSource(String fqn, String source, ProtoTypeMetadata ptm) throws IOException {
Element originatingElement = ((HasModelElement) ptm.getJavaClass()).getElement();
generatedFilesWriter.addMarshallerSourceFile(fqn, source, originatingElement);
generatedClasses.add(fqn);
}
Aggregations