Class KotlinInlineFilter

  • All Implemented Interfaces:
    IFilter

    public final class KotlinInlineFilter
    extends java.lang.Object
    implements IFilter
    Filters out instructions that were inlined by Kotlin compiler.
    • Field Detail

      • firstGeneratedLineNumber

        private int firstGeneratedLineNumber
      • LINE_INFO_PATTERN

        private static final java.util.regex.Pattern LINE_INFO_PATTERN
      • FILE_INFO_PATTERN

        private static final java.util.regex.Pattern FILE_INFO_PATTERN
    • Constructor Detail

      • KotlinInlineFilter

        public KotlinInlineFilter()
    • Method Detail

      • filter

        public void filter​(org.objectweb.asm.tree.MethodNode methodNode,
                           IFilterContext context,
                           IFilterOutput output)
        Description copied from interface: IFilter
        This method is called for every method. The filter implementation is expected to inspect the provided method and report its result to the given IFilterOutput instance.
        Specified by:
        filter in interface IFilter
        Parameters:
        methodNode - method to inspect
        context - context information for the method
        output - callback to report filtering results to
      • getFirstGeneratedLineNumber

        private static int getFirstGeneratedLineNumber​(java.lang.String sourceFileName,
                                                       java.lang.String smap)
      • expectLine

        private static void expectLine​(java.io.BufferedReader br,
                                       java.lang.String expected)
                                throws java.io.IOException
        Throws:
        java.io.IOException