make JavaFunctionalExpressionIndex.getCalledMethodName private

This commit is contained in:
peter
2016-10-31 13:53:49 +01:00
parent 97990b2cf7
commit 2e19f144ed
@@ -270,7 +270,7 @@ public class JavaFunctionalExpressionIndex extends FileBasedIndexExtension<Funct
}
@Nullable
public static String getCalledMethodName(LighterAST tree, LighterASTNode call) {
private static String getCalledMethodName(LighterAST tree, LighterASTNode call) {
if (call.getTokenType() == NEW_EXPRESSION) {
LighterASTNode anonClass = LightTreeUtil.firstChildOfType(tree, call, ANONYMOUS_CLASS);
LighterASTNode ref = LightTreeUtil.firstChildOfType(tree, anonClass != null ? anonClass : call, JAVA_CODE_REFERENCE);