Class EndSingleStatementBlockFragment
java.lang.Object
org.jd.core.v1.model.fragment.FlexibleFragment
org.jd.core.v1.model.fragment.StartFlexibleBlockFragment
org.jd.core.v1.model.fragment.EndFlexibleBlockFragment
org.jd.core.v1.model.javafragment.EndSingleStatementBlockFragment
- All Implemented Interfaces:
Fragment
,JavaFragment
public class EndSingleStatementBlockFragment
extends EndFlexibleBlockFragment
implements JavaFragment
-
Field Summary
FieldsFields inherited from class org.jd.core.v1.model.fragment.FlexibleFragment
initialLineCount, label, lineCount, maximalLineCount, minimalLineCount, weight
-
Constructor Summary
ConstructorsConstructorDescriptionEndSingleStatementBlockFragment
(int minimalLineCount, int lineCount, int maximalLineCount, int weight, String label, StartSingleStatementBlockFragment start) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(JavaFragmentVisitor visitor) boolean
decLineCount
(boolean force) boolean
incLineCount
(boolean force) void
setLineCount
(int lineCount) Methods inherited from class org.jd.core.v1.model.fragment.EndFlexibleBlockFragment
accept
Methods inherited from class org.jd.core.v1.model.fragment.FlexibleFragment
getInitialLineCount, getLabel, getLineCount, getMaximalLineCount, getMinimalLineCount, getWeight, resetLineCount, toString
-
Field Details
-
start
-
-
Constructor Details
-
EndSingleStatementBlockFragment
public EndSingleStatementBlockFragment(int minimalLineCount, int lineCount, int maximalLineCount, int weight, String label, StartSingleStatementBlockFragment start)
-
-
Method Details
-
setLineCount
public void setLineCount(int lineCount) -
getStartSingleStatementBlockFragment
-
incLineCount
public boolean incLineCount(boolean force) - Overrides:
incLineCount
in classFlexibleFragment
-
decLineCount
public boolean decLineCount(boolean force) - Overrides:
decLineCount
in classFlexibleFragment
-
accept
- Specified by:
accept
in interfaceJavaFragment
-