Class FilerUtils
java.lang.Object
org.inferred.freebuilder.processor.source.FilerUtils
Static utility methods for working with
Filer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidwriteCompilationUnit(Filer filer, SourceBuilder unit, Element originatingElement) Writesunitto the correct file.
-
Constructor Details
-
FilerUtils
private FilerUtils()
-
-
Method Details
-
writeCompilationUnit
public static void writeCompilationUnit(Filer filer, SourceBuilder unit, Element originatingElement) throws IOException Writesunitto the correct file.This is complicated by an EJC bug that returns the wrong object from
Writer.append(CharSequence).- Throws:
IOException
-