public final JDCArray getJDCAFromFLR(ForLineRetrieval for_lineRetrieval) {
throwAXIfNull(for_lineRetrieval, "for_lineRetrieval", "getJDCAFromFLR");
VWObject acoJDC = new VWObject();
VWObject acoPT = new VWObject();
PTArray pta = null;
boolean bFoundPTDivider = false;
while(for_lineRetrieval.hasMoreLines()) {
String sLine = for_lineRetrieval.getNextLine().toString();
sLine = sLine.trim();
if(sLine.length() > 0) {
if(!bFoundPTDivider) {
if(sLine.startsWith("~")) {
if(acoPT.size() == 0) {
throwAX("getJDCAFromFLR: No PackageTypes found before the '~' divider line. PackageTypes belong before it, and JDClasses after. At least one of each is required.");
}
Object[] ao = acoPT.getAOObject();
PackageType[] aPT = new PackageType[ao.length + 1];
for(int i = 0; i < ao.length; i++) {
aPT[i] = (PackageType)ao[i];
}
aPT[aPT.length - 1] = new PackageType("overview-summary", null);
pta = new PTArray(aPT);
bFoundPTDivider = true;
} else {
acoPT.add(getPackageTypeFromLine(sLine, for_lineRetrieval.getLineNumberPrev()));