Class Compiler.SingleBinaryLicenseTracker

  • All Implemented Interfaces:
    CodePrinter.LicenseTracker
    Enclosing class:
    Compiler

    public static final class Compiler.SingleBinaryLicenseTracker
    extends java.lang.Object
    A license tracker implementation that only retains licenses for which there are useful nodes in a binary. This will ignore licenses attached to script or root nodes when there are no other nodes from that script in use in the binary (likely removed due to compiler optimizations).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean shouldUseLicenseInfo​(Node node)  
      • Methods inherited from class java.lang.Object

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

      • shouldUseLicenseInfo

        protected boolean shouldUseLicenseInfo​(Node node)