JavaNCSS
  1. JavaNCSS
  2. JAVANCSS-10

Inner Annotated Interface causes parseException

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 29.50
    • Fix Version/s: 31.52
    • Labels:
      None
    • Environment:
      Any
    • Number of attachments :
      0

      Description

      public class MyClass {

      @Deprecated
      interface MyInterface

      { void doStuff(); }

      }

      leads to :
      java.lang.Exception: javancss.ParseException: Encountered "interface" at line l, column c.
      Was expecting one of:
      "boolean" ...
      "byte" ...
      "char" ...
      "double" ...
      "final" ...
      "float" ...
      "int" ...
      "long" ...
      "private" ...
      "protected" ...
      "public" ...
      "short" ...
      "static" ...
      "transient" ...
      "volatile" ...
      "@" ...
      "abstract" ...
      "strictfp" ...
      "class" ...
      "synchronized" ...
      "native" ...
      "enum" ...
      "<" ...
      "void" ...
      <IDENTIFIER> ...

        Activity

        Hide
        Clemens Lee added a comment -

        Fixed in revision 139. Thanks for reporting!

        Show
        Clemens Lee added a comment - Fixed in revision 139. Thanks for reporting!

          People

          • Assignee:
            Clemens Lee
            Reporter:
            Erwan Le Goulven
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: