atom / language-java

Java package for Atom
Other
62 stars 59 forks source link

Fix tree-sitter annotations #242

Closed sadikovi closed 3 years ago

sadikovi commented 3 years ago

Requirements

Description of the Change

This PR adds missing annotations with scoped identifiers. Previously we only handled single identifiers. This fixes the following cases:

class A {
  @Test.Annotation
  @Test.Annotation()
  void func() {
    // test
  }
}

Alternate Designs

N/A

Benefits

N/A

Possible Drawbacks

Applicable Issues

Fixes #239