Class TargetSelectors

    • Constructor Detail

      • TargetSelectors

        public TargetSelectors​(ISelectorContext context,
                               org.objectweb.asm.tree.ClassNode classNode)
    • Method Detail

      • size

        public int size()
      • clear

        public void clear()
      • isPermissivePassEnabled

        public boolean isPermissivePassEnabled()
      • setPermissivePass

        public TargetSelectors setPermissivePass​(boolean enabled)
      • find

        public void find()
        Find methods in the target class which match the parsed selectors
      • findNestedTargets

        protected void findNestedTargets()
        For each root target, resolve the nested targets from the target descriptor
      • validate

        public void validate​(int expectedCallbackCount,
                             int requiredCallbackCount)
        Post-search validation that some targets were found, we can fail-fast if no targets were actually identified or if the specified limits are exceeded.
        Parameters:
        expectedCallbackCount - Number of callbacks specified by expect
        requiredCallbackCount - Number of callbacks specified by require