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
public class StartBodyFragment extends StartFlexibleBlockFragment implements JavaFragment
-
-
Field Summary
Fields Modifier and Type Field Description protected EndBodyFragment
end
-
Fields inherited from class org.jd.core.v1.model.fragment.FlexibleFragment
initialLineCount, label, lineCount, maximalLineCount, minimalLineCount, weight
-
-
Constructor Summary
Constructors Constructor Description StartBodyFragment(int minimalLineCount, int lineCount, int maximalLineCount, int weight, java.lang.String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JavaFragmentVisitor visitor)
boolean
decLineCount(boolean force)
EndBodyFragment
getEndBodyFragment()
boolean
incLineCount(boolean force)
(package private) void
setEndBodyFragment(EndBodyFragment end)
void
setLineCount(int lineCount)
-
Methods inherited from class org.jd.core.v1.model.fragment.StartFlexibleBlockFragment
accept
-
Methods inherited from class org.jd.core.v1.model.fragment.FlexibleFragment
getInitialLineCount, getLabel, getLineCount, getMaximalLineCount, getMinimalLineCount, getWeight, resetLineCount, toString
-
-
-
-
Field Detail
-
end
protected EndBodyFragment end
-
-
Method Detail
-
getEndBodyFragment
public EndBodyFragment getEndBodyFragment()
-
setEndBodyFragment
void setEndBodyFragment(EndBodyFragment end)
-
setLineCount
public void setLineCount(int lineCount)
-
incLineCount
public boolean incLineCount(boolean force)
- Overrides:
incLineCount
in classFlexibleFragment
-
decLineCount
public boolean decLineCount(boolean force)
- Overrides:
decLineCount
in classFlexibleFragment
-
accept
public void accept(JavaFragmentVisitor visitor)
- Specified by:
accept
in interfaceJavaFragment
-
-