Klasse CachedClassReference

java.lang.Object
org.aspectj.weaver.tools.cache.CachedClassReference

public class CachedClassReference extends Object
A typed reference to a cached class entry. The key to any cache entry is a simple string, but that string may contain some specialized encoding. This class handles all of that encoding.

External users of the cache should not be able to create these objects manually.

  • Konstruktordetails

    • CachedClassReference

      protected CachedClassReference(String key, CacheKeyResolver resolver)
    • CachedClassReference

      protected CachedClassReference(String key, String className)
      Protected to allow only the WeavedClassCache initialization rights
      Parameter:
      key - encoded key of the class
      className - the classname
  • Methodendetails

    • getKey

      public String getKey()
    • getClassName

      public String getClassName()
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      public boolean equals(Object obj)
      Setzt außer Kraft:
      equals in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object