Class UnreachableMethodRemover


  • public class UnreachableMethodRemover
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] optimize​(byte[] jarBytes, java.util.Map<java.lang.String,​java.util.List<foundation.icon.ee.struct.Member>> keptMethods)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UnreachableMethodRemover

        public UnreachableMethodRemover()
    • Method Detail

      • optimize

        public static byte[] optimize​(byte[] jarBytes,
                                      java.util.Map<java.lang.String,​java.util.List<foundation.icon.ee.struct.Member>> keptMethods)
                               throws java.lang.Exception
        Throws:
        java.lang.Exception