1. 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.
  2. 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
      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.
    • 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.
    • 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).
    • Lubomir Bulej's avatar
      Update GuardResolver class comment · 26a915d3
      Lubomir Bulej authored
    • 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.
    • 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.
    • 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.
  3. 12 Oct, 2018 2 commits
  4. 27 Apr, 2018 7 commits
  5. 26 Apr, 2018 7 commits
  6. 10 Apr, 2018 1 commit
  7. 06 Apr, 2018 4 commits
  8. 05 Apr, 2018 1 commit
  9. 25 Oct, 2017 2 commits
  10. 24 Oct, 2017 3 commits
  11. 30 Jan, 2017 1 commit
  12. 15 Dec, 2016 1 commit
  13. 07 Oct, 2016 1 commit
  14. 06 Aug, 2016 1 commit
  15. 12 Jul, 2016 1 commit
    • Lubomir Bulej's avatar
      Snippet: stop exposing marker, provide selectApplicableSnippets() instead. · 15f47fd9
      Lubomir Bulej authored
      UnprocessedCode: move rewriting of accesses to thread-local variables to
      Weaver: rewrite accesses to thread-local variables at the end of the weaving
      DiSL: updated to reflect the changes in Snippet and UnprocessedCode.
      RewriteThreadLocalVarAccessesCodeTransformer: moved to the weaver package
      for now.