mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
SSR: remove visitDocTagValue() method, doc tag value matching is handled in visitDocTag()
This commit is contained in:
-13
@@ -90,19 +90,6 @@ public class JavaMatchingVisitor extends JavaElementVisitor {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void visitDocTagValue(final PsiDocTagValue value) {
|
||||
final PsiDocTagValue value2 = (PsiDocTagValue)myMatchingVisitor.getElement();
|
||||
final boolean isTypedVar = myMatchingVisitor.getMatchContext().getPattern().isTypedVar(value);
|
||||
|
||||
if (isTypedVar) {
|
||||
myMatchingVisitor.setResult(myMatchingVisitor.handleTypedElement(value, value2));
|
||||
}
|
||||
else {
|
||||
myMatchingVisitor.setResult(value.textMatches(value2));
|
||||
}
|
||||
}
|
||||
|
||||
private static boolean isNotInstanceModifier(final PsiModifierList list2) {
|
||||
return list2.hasModifierProperty(PsiModifier.STATIC) ||
|
||||
list2.hasModifierProperty(PsiModifier.ABSTRACT);
|
||||
|
||||
Reference in New Issue
Block a user