Class Balancing.IfScope
java.lang.Object
org.immutables.generator.processor.Balancing.Scope
org.immutables.generator.processor.Balancing.BlockScope
org.immutables.generator.processor.Balancing.IfScope
- Enclosing class:
Balancing
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ImmutableTrees.IfStatement.Builderprivate ImmutableTrees.Elseprivate ImmutableTrees.ElseIfprivate final ImmutableTrees.IfFields inherited from class org.immutables.generator.processor.Balancing.BlockScope
parentFields inherited from class org.immutables.generator.processor.Balancing.Scope
parts -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidadd(Trees.TemplatePart part) (package private) ImmutableTrees.IfStatementprivate void(package private) booleanincorrect(Trees.TemplatePart part) Methods inherited from class org.immutables.generator.processor.Balancing.BlockScope
correct, end
-
Field Details
-
directive
-
builder
-
currentElseIf
-
currentElse
-
-
Constructor Details
-
IfScope
IfScope(Balancing.Scope parent, ImmutableTrees.If directive)
-
-
Method Details
-
add
- Overrides:
addin classBalancing.Scope
-
incorrect
- Overrides:
incorrectin classBalancing.BlockScope- Parameters:
part-
-
flushBlock
private void flushBlock() -
createPart
ImmutableTrees.IfStatement createPart()- Specified by:
createPartin classBalancing.BlockScope
-