mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
lazy getText() eval
This commit is contained in:
+3
-1
@@ -272,7 +272,9 @@ public class HighlightMethodUtil {
|
||||
List<PsiClassType> checkedExceptions = new ArrayList<>();
|
||||
for (int i = 0; i < exceptions.length; i++) {
|
||||
PsiClassType exception = exceptions[i];
|
||||
LOG.assertTrue(exception != null, "throws: " + method.getThrowsList().getText() + "; method: " + method);
|
||||
if (exception == null) {
|
||||
LOG.error("throws: " + method.getThrowsList().getText() + "; method: " + method);
|
||||
}
|
||||
if (!ExceptionUtil.isUncheckedException(exception)) {
|
||||
checkedExceptions.add(exception);
|
||||
if (includeRealPositionInfo && i < referenceElements.length) {
|
||||
|
||||
Reference in New Issue
Block a user