public class FilerUtils
extends java.lang.Object
Filer.| Modifier and Type | Method and Description |
|---|---|
static void |
writeCompilationUnit(javax.annotation.processing.Filer filer,
SourceBuilder unit,
javax.lang.model.element.Element originatingElement)
Writes
unit to the correct file. |
public static void writeCompilationUnit(javax.annotation.processing.Filer filer,
SourceBuilder unit,
javax.lang.model.element.Element originatingElement)
throws java.io.IOException
unit to the correct file.
This is complicated by an EJC bug that returns the wrong object from
Writer.append(CharSequence).
java.io.IOException