Class CodeBlockImpl.CodeBlockJoiner

java.lang.Object
org.tquadrat.foundation.javacomposer.internal.CodeBlockImpl.CodeBlockJoiner
Enclosing class:
CodeBlockImpl

@ClassVersion(sourceVersion="$Id: CodeBlockImpl.java 1105 2024-02-28 12:58:46Z tquadrat $") @API(status=INTERNAL, since="0.0.5") private static final class CodeBlockImpl.CodeBlockJoiner extends Object
A helper class that supports to join code blocks.
Author:
Thomas Thrien - thomas.thrien@tquadrat.org
Version:
$Id: CodeBlockImpl.java 1105 2024-02-28 12:58:46Z tquadrat $
Since:
0.0.5
UML Diagram
UML Diagram for "org.tquadrat.foundation.javacomposer.internal.CodeBlockImpl.CodeBlockJoiner"

UML Diagram for "org.tquadrat.foundation.javacomposer.internal.CodeBlockImpl.CodeBlockJoiner"

UML Diagram for "org.tquadrat.foundation.javacomposer.internal.CodeBlockImpl.CodeBlockJoiner"
  • Field Details

    • m_Builder

      The builder that is used to deliver the final code block.
    • m_Delimiter

      private final String m_Delimiter
      The separator for the joined code blocks.
    • m_First

      private boolean m_First
      Flag that indicates whether to add the delimiter on adding a new code block.
  • Constructor Details

    • CodeBlockJoiner

      public CodeBlockJoiner(String delimiter, CodeBlockImpl.BuilderImpl builder)
      Creates a new CodeBlockJoiner instance.
      Parameters:
      delimiter - The separator for the joined code blocks.
      builder - The builder that is used to deliver the final code block.
  • Method Details