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 EndBodyFragmentend-
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 voidaccept(JavaFragmentVisitor visitor)booleandecLineCount(boolean force)EndBodyFragmentgetEndBodyFragment()booleanincLineCount(boolean force)(package private) voidsetEndBodyFragment(EndBodyFragment end)voidsetLineCount(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:
incLineCountin classFlexibleFragment
-
decLineCount
public boolean decLineCount(boolean force)
- Overrides:
decLineCountin classFlexibleFragment
-
accept
public void accept(JavaFragmentVisitor visitor)
- Specified by:
acceptin interfaceJavaFragment
-
-