Package org.immutables.generator
Class Output.AppendServiceFile
java.lang.Object
org.immutables.generator.Output.AppendServiceFile
- Enclosing class:
Output
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Templates.CharConsumer(package private) final Output.ResourceKeyprivate static final Pattern -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidcomplete()private voidcopyNewMetaservicesInto(Collection<String> services) private voidreadExistingEntriesInto(Collection<String> services) private voidremoveBlankLinesIn(Iterable<String> services) private voidprivate voidwriteLinesFrom(Iterable<String> services)
-
Field Details
-
SERVICE_FILE_COMMENT_LINE
-
key
-
consumer
-
-
Constructor Details
-
AppendServiceFile
AppendServiceFile(Output.ResourceKey key)
-
-
Method Details
-
complete
void complete() -
writeFile
- Throws:
IOException
-
readExistingEntriesInto
-
writeLinesFrom
- Throws:
IOException
-
removeBlankLinesIn
-
copyNewMetaservicesInto
-