Lines 88-96
Link Here
|
88 |
if (buffer == null) { |
88 |
if (buffer == null) { |
89 |
buffer = openBuffer(pm, unitInfo); // open buffer independently from the info, since we are building the info |
89 |
buffer = openBuffer(pm, unitInfo); // open buffer independently from the info, since we are building the info |
90 |
} |
90 |
} |
91 |
final char[] contents = buffer == null ? |
91 |
final char[] contents; |
92 |
CharOperation.NO_CHAR : |
92 |
if (buffer == null) { |
93 |
buffer.getCharacters(); |
93 |
contents = CharOperation.NO_CHAR ; |
|
|
94 |
} else { |
95 |
char[] characters = buffer.getCharacters(); |
96 |
contents = characters == null ? CharOperation.NO_CHAR : characters; |
97 |
} |
94 |
|
98 |
|
95 |
// generate structure and compute syntax problems if needed |
99 |
// generate structure and compute syntax problems if needed |
96 |
CompilationUnitStructureRequestor requestor = new CompilationUnitStructureRequestor(this, unitInfo, newElements); |
100 |
CompilationUnitStructureRequestor requestor = new CompilationUnitStructureRequestor(this, unitInfo, newElements); |