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

    "enableMd5InClassSources"=true

    to your "archunit.properties".

    • Method Detail

      • hashCode

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

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

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