Class Source


public class Source
extends java.lang.Object
Contains information about an imported class, i.e. the URI from where the class was imported and an md5 sum to compare different versions of the same class file at the same location.

NOTE: Since the generation of md5 sums has a performance impact, it is disabled by default.
To enable it, add


to your "".

  • Nested Class Summary

    Nested Classes
    Modifier and Type Class Description
    static class  Source.Md5sum  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object obj)  
    Optional<java.lang.String> getFileName()  
    Source.Md5sum getMd5sum() getUri()  
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • getUri

      @PublicAPI(usage=ACCESS) public getUri()
    • getFileName

      @PublicAPI(usage=ACCESS) public Optional<java.lang.String> getFileName()
    • getMd5sum

      @PublicAPI(usage=ACCESS) public Source.Md5sum getMd5sum()
    • hashCode

      public int hashCode()
      hashCode in class java.lang.Object
    • equals

      public boolean equals​(java.lang.Object obj)
      equals in class java.lang.Object
    • toString

      public java.lang.String toString()
      toString in class java.lang.Object