mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-20 11:36:16 +07:00
java functional expressions: remove possibly expensive toString() in PsiLambdaExpressionImpl and PsiMethodReferenceExpressionImpl (e.g. show implementation + JList)
This commit is contained in:
+1
-1
@@ -158,7 +158,7 @@ public class PsiLambdaExpressionImpl extends JavaStubPsiElement<FunctionalExpres
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "PsiLambdaExpression:" + getText();
|
||||
return "PsiLambdaExpression:";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
+1
-1
@@ -395,7 +395,7 @@ public class PsiMethodReferenceExpressionImpl extends JavaStubPsiElement<Functio
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "PsiMethodReferenceExpression:" + getText();
|
||||
return "PsiMethodReferenceExpression";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user