Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-917

Don't scan AST for rule matches if they aren't found in byte code references (ASM)

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 2.5.0.CR1
    • None

      This is an idea.
      If we could omit decompilation, it would boost performance.
      Therefore, in the long term, we should head towards that state.

      One intermediate step could be to rely on the BCEL instead of AST when looking for annotations.
      If BCEL won't find an annotation in the class index, it's not in the AST either.

      If we could eventually push all of the "locations" searches to pre-decompile rules, we could skip the decompilation for classes without matches.
      I mean - we can start somewhere. But maybe it doesn't make sense before solving the harder part.

            jesse.sightler@amentra.com Jesse Sightler
            ozizka_jira Ondrej Zizka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: