antkorwin / better-strings

Java String Interpolation Plugin
Apache License 2.0
98 stars 8 forks source link

Fix a bug with disabled annotation type #1

Closed antkorwin closed 4 years ago

antkorwin commented 4 years ago

Annotation without a fully qualified path in the place of usage will be processed by javac in another way(for example when you import a package of annotation in the class file). The type of annotation doesn't contain the full path to class. This PR fixes this bug with DisabledStringInterpolation processing.

codecov-io commented 4 years ago

Codecov Report

Merging #1 into master will not change coverage. The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master       #1   +/-   ##
=========================================
  Coverage     89.04%   89.04%           
  Complexity       49       49           
=========================================
  Files             6        6           
  Lines           146      146           
  Branches         15       15           
=========================================
  Hits            130      130           
  Misses            9        9           
  Partials          7        7
Impacted Files Coverage Δ Complexity Δ
...ntkorwin/betterstrings/BetterStringsProcessor.java 90.47% <ø> (ø) 7 <0> (ø) :arrow_down:
...a/com/antkorwin/betterstrings/tokenizer/Token.java 90% <ø> (ø) 5 <0> (ø) :arrow_down:
...etterstrings/ast/InnerStringVarsAstTranslator.java 82% <0%> (ø) 25 <0> (ø) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 03b4a54...4a9a618. Read the comment docs.