Search in sources :

Example 1 with ParamMatcher

use of org.intellij.lang.xpath.xslt.util.ParamMatcher in project intellij-community by JetBrains.

the class XsltTemplateImpl method getParameters.

@NotNull
public XsltParameter[] getParameters() {
    final PsiElement[] elements = ResolveUtil.collect(new ParamMatcher(getTag(), null));
    final XsltParameter[] xsltParameters = new XsltParameter[elements.length];
    //noinspection SuspiciousSystemArraycopy
    System.arraycopy(elements, 0, xsltParameters, 0, elements.length);
    return xsltParameters;
}
Also used : ParamMatcher(org.intellij.lang.xpath.xslt.util.ParamMatcher) XsltParameter(org.intellij.lang.xpath.xslt.psi.XsltParameter) PsiElement(com.intellij.psi.PsiElement) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

PsiElement (com.intellij.psi.PsiElement)1 XsltParameter (org.intellij.lang.xpath.xslt.psi.XsltParameter)1 ParamMatcher (org.intellij.lang.xpath.xslt.util.ParamMatcher)1 NotNull (org.jetbrains.annotations.NotNull)1