Class FilerUtils
- java.lang.Object
-
- org.inferred.freebuilder.processor.source.FilerUtils
-
public class FilerUtils extends java.lang.ObjectStatic utility methods for working withFiler.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateFilerUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidwriteCompilationUnit(javax.annotation.processing.Filer filer, SourceBuilder unit, javax.lang.model.element.Element originatingElement)Writesunitto the correct file.
-
-
-
Method Detail
-
writeCompilationUnit
public static void writeCompilationUnit(javax.annotation.processing.Filer filer, SourceBuilder unit, javax.lang.model.element.Element originatingElement) throws java.io.IOExceptionWritesunitto the correct file.This is complicated by an EJC bug that returns the wrong object from
Writer.append(CharSequence).- Throws:
java.io.IOException
-
-