/*
 * Copyright (c) 2000-2007 JetBrains s.r.o. All Rights Reserved.
 */
package com.intellij.jsp.impl;

import com.intellij.psi.PsiType;
import com.intellij.psi.meta.PsiMetaData;
import com.intellij.psi.meta.PsiWritableMetaData;
import com.intellij.psi.xml.XmlTag;
import org.jetbrains.annotations.Nullable;

import java.util.List;

/**
 * @author peter
 */
public interface FunctionDescriptor extends PsiWritableMetaData, PsiMetaData {
  String getFunctionClass();

  void setFunctionClass(String functionClass);

  String getFunctionSignature();

  void setFunctionSignature(String functionSignature);

  XmlTag getTag();

  int getParameterCount();

  String getFunctionName();

  List<String> getFunctionParameters();

  String getFunctionReturnType();

  @Nullable
  PsiType getResultType();
}

@@ -97,16 +97,51 @@
 .impl;%0A%0A
+import com.intellij.psi.PsiMethod;%0A
 import c
@@ -824,11 +824,57 @@
 tType();
+%0A%0A  @Nullable PsiMethod getReferencedMethod();
 %0A%7D%0A

Make Ctrl-P work for EL functions (IDEADEV-23634)