1. 09 Oct, 2019 1 commit
  2. 06 Nov, 2018 1 commit
    • Lubomir Bulej's avatar
      Remove setMultipleValDelim() from the marker Parameter class · 5800edd8
      Lubomir Bulej authored
      This was a source of issues with markers which forgot to set the
      delimiter prior to requesting multiple values. Instead, the
      getMultipleValues() method has been modified to require the delimiter
      as an argument, forcing the users of the Parameter class to supply the
      delimiter on use. The BytecodeMarker, InsnNodeMarker, and the
      StrictBytecodeMarker were updated to reflect the change.
      5800edd8
  3. 20 Oct, 2018 7 commits
    • Lubomir Bulej's avatar
      Relax SnippetParser to allow unannotated methods in DiSL class · b2752cd0
      Lubomir Bulej authored
      Originally DiSL classes could not contain other than annotated
      snippet methods. This relaxes the SnippetParser to allow other
      methods to be present in DiSL class and it also only warns on
      snippets with multiple annotations (instead of throwing an
      exception).
      
      This allows to combine guard classes and static methods used
      from guard classes with the snippet code. This makes small-scale
      instrumentation more self-contained. We should make sure that
      snippet code does not try to invoke those methods though.
      b2752cd0
    • Lubomir Bulej's avatar
      Refactor GuardResover.getGuardMethod() · 30423ee9
      Lubomir Bulej authored
      Split of cache lookup from finding the method via reflection
      and annotations and rename the field caching the results.
      30423ee9
    • Lubomir Bulej's avatar
      Use lazy-initialized singleton in GuardResolver · fd286572
      Lubomir Bulej authored
      Get rid of synchronization in getInstance() method and instead use
      a static initializer to create the GuardResolver singleton (we should
      get rid of that too, but later).
      fd286572
    • Lubomir Bulej's avatar
      Update GuardResolver class comment · 26a915d3
      Lubomir Bulej authored
      26a915d3
    • Lubomir Bulej's avatar
      Extended InvocationStaticContext · 7f80e122
      Lubomir Bulej authored
      Added getOwnerName() and getOwnerSimpleName() which return the
      fully qualified class name and just the class name, respectively.
      7f80e122
    • Lubomir Bulej's avatar
      Cosmetic changes to Parameter class · 6cf1d712
      Lubomir Bulej authored
      Made the class final and renamed the private fields to match
      the convention.
      6cf1d712
    • Lubomir Bulej's avatar
      Allow fields without annotations in DiSL classes · de737575
      Lubomir Bulej authored
      Relaxed the DiSL class parser to allow DiSL class to contain fields
      without annotations. The parser previously threw exceptions, which
      made it impossible to include guards in the DiSL class. The parser
      should really only choke on fields without annotations that are
      actually accessed from DiSL snippets.
      de737575
  4. 12 Oct, 2018 2 commits
  5. 27 Apr, 2018 7 commits
  6. 26 Apr, 2018 7 commits
  7. 10 Apr, 2018 1 commit
  8. 06 Apr, 2018 4 commits
  9. 05 Apr, 2018 1 commit
  10. 25 Oct, 2017 2 commits
  11. 24 Oct, 2017 3 commits
  12. 30 Jan, 2017 1 commit
  13. 15 Dec, 2016 1 commit
  14. 07 Oct, 2016 1 commit
  15. 06 Aug, 2016 1 commit