Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / devtools / scripts / jsdoc-validator / src / org / chromium / devtools / jsdoc / checks / ContextTrackingValidationCheck.java
index f468175..acce0b8 100644 (file)
@@ -195,7 +195,9 @@ public class ContextTrackingValidationCheck extends ValidationCheck {
         List<InheritanceEntry> result = new ArrayList<>(2);
         Matcher matcher = EXTENDS_PATTERN.matcher(getNodeText(jsDocNode));
         while (matcher.find()) {
-            result.add(new InheritanceEntry(matcher.group(1), jsDocNode, matcher.start(1)));
+            String fullSuperType = matcher.group(1);
+            result.add(new InheritanceEntry(
+                    fullSuperType.replaceFirst("\\.<.+>", ""), jsDocNode, matcher.start(1)));
         }
 
         return result;