Class StartBodyFragment
java.lang.Object
org.jd.core.v1.model.fragment.FlexibleFragment
org.jd.core.v1.model.fragment.StartFlexibleBlockFragment
org.jd.core.v1.model.javafragment.StartBodyFragment
- All Implemented Interfaces:
Fragment, JavaFragment
-
Field Summary
FieldsFields inherited from class FlexibleFragment
initialLineCount, label, lineCount, maximalLineCount, minimalLineCount, weight -
Constructor Summary
ConstructorsConstructorDescriptionStartBodyFragment(int minimalLineCount, int lineCount, int maximalLineCount, int weight, String label) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(JavaFragmentVisitor visitor) booleandecLineCount(boolean force) booleanincLineCount(boolean force) (package private) voidvoidsetLineCount(int lineCount) Methods inherited from class StartFlexibleBlockFragment
acceptMethods inherited from class FlexibleFragment
getInitialLineCount, getLabel, getLineCount, getMaximalLineCount, getMinimalLineCount, getWeight, resetLineCount, toString
-
Field Details
-
end
-
-
Constructor Details
-
StartBodyFragment
public StartBodyFragment(int minimalLineCount, int lineCount, int maximalLineCount, int weight, String label)
-
-
Method Details
-
getEndBodyFragment
-
setEndBodyFragment
-
setLineCount
public void setLineCount(int lineCount) -
incLineCount
public boolean incLineCount(boolean force) - Overrides:
incLineCountin classFlexibleFragment
-
decLineCount
public boolean decLineCount(boolean force) - Overrides:
decLineCountin classFlexibleFragment
-
accept
- Specified by:
acceptin interfaceJavaFragment
-