if (scope instanceof GlobalSearchScope) {
scope = GlobalSearchScope.getScopeRestrictedByFileTypes(((GlobalSearchScope)scope), StdFileTypes.JAVA, StdFileTypes.JSP, StdFileTypes.JSPX);
}
return scope;
}
<BUG>private PsiExpression deparenthesizeExpression(PsiExpression rExpression) {
if (rExpression instanceof PsiParenthesizedExpression) {
return deparenthesizeExpression(
((PsiParenthesizedExpression)rExpression).getExpression());
}
return rExpression;
}</BUG>
PsiType replaceWildCards(final PsiType type, final ReductionSystem system, final PsiSubstitutor definedSubst) {

if (scope instanceof GlobalSearchScope) {
scope = GlobalSearchScope.getScopeRestrictedByFileTypes(((GlobalSearchScope)scope), StdFileTypes.JAVA, StdFileTypes.JSP, StdFileTypes.JSPX);
}
return scope;
}
PsiType replaceWildCards(final PsiType type, final ReductionSystem system, final PsiSubstitutor definedSubst) {
