Class DeadMethodElimination

    • Constructor Detail

      • DeadMethodElimination

        public DeadMethodElimination()
    • Method Detail

      • getName

        public String getName()
        Description copied from interface: ClassTransform
        Gets the name of this transformation.
        Specified by:
        getName in interface ClassTransform
        Returns:
        the transformation name
      • run

        public boolean run​(ClassFile classFile,
                           SSA ssa)
        Description copied from interface: ClassTransform
        Runs the transformation on the specified class.
        Specified by:
        run in interface ClassTransform
        Parameters:
        classFile - the class file to transform
        ssa - the SSA processor for lifting/lowering methods
        Returns:
        true if the class was modified