Class Transitive


  • public final class Transitive
    extends java.lang.Object
    Collects the minimal compile-time API for symbols in the supertype closure of compiled classes. This allows header compilations to be performed against a classpath containing only direct dependencies and no transitive dependencies.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static com.google.common.collect.ImmutableMap<java.lang.String,​byte[]> collectDeps​(ClassPath bootClassPath, Binder.BindingResult bound)  
      static ClassFile trimClass​(ClassFile cf, @Nullable java.lang.String jarFile)
      Removes information from repackaged classes that will not be needed by upstream compilations.
      • Methods inherited from class java.lang.Object

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

      • collectDeps

        public static com.google.common.collect.ImmutableMap<java.lang.String,​byte[]> collectDeps​(ClassPath bootClassPath,
                                                                                                        Binder.BindingResult bound)
      • trimClass

        public static ClassFile trimClass​(ClassFile cf,
                                          @Nullable java.lang.String jarFile)
        Removes information from repackaged classes that will not be needed by upstream compilations.