Class EndBodyInParameterFragment
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.EndBodyFragment
org.jd.core.v1.model.javafragment.EndBodyInParameterFragment
- All Implemented Interfaces:
Fragment
,JavaFragment
-
Field Summary
Fields inherited from class org.jd.core.v1.model.javafragment.EndBodyFragment
start
Fields inherited from class org.jd.core.v1.model.fragment.FlexibleFragment
initialLineCount, label, lineCount, maximalLineCount, minimalLineCount, weight
-
Constructor Summary
ConstructorsConstructorDescriptionEndBodyInParameterFragment
(int minimalLineCount, int lineCount, int maximalLineCount, int weight, String label, StartBodyFragment startBodyFragment) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(JavaFragmentVisitor visitor) boolean
decLineCount
(boolean force) boolean
incLineCount
(boolean force) Methods inherited from class org.jd.core.v1.model.javafragment.EndBodyFragment
getStartBodyFragment, setLineCount
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
-
Constructor Details
-
EndBodyInParameterFragment
public EndBodyInParameterFragment(int minimalLineCount, int lineCount, int maximalLineCount, int weight, String label, StartBodyFragment startBodyFragment)
-
-
Method Details
-
incLineCount
public boolean incLineCount(boolean force) - Overrides:
incLineCount
in classEndBodyFragment
-
decLineCount
public boolean decLineCount(boolean force) - Overrides:
decLineCount
in classEndBodyFragment
-
accept
- Specified by:
accept
in interfaceJavaFragment
- Overrides:
accept
in classEndBodyFragment
-