Class ClassLoaderReference

java.lang.Object
com.ibm.wala.types.ClassLoaderReference
All Implemented Interfaces:
Serializable

public class ClassLoaderReference extends Object implements Serializable
Defines the meta-information that identifies a class loader. This is effectively a "name" for a class loader.
See Also:
  • Field Details

    • Java

      public static final Atom Java
      Canonical name for the Java language
    • Primordial

      public static final ClassLoaderReference Primordial
      Canonical reference to primordial class loader
    • Extension

      public static final ClassLoaderReference Extension
      Canonical reference to extension class loader
    • Application

      public static final ClassLoaderReference Application
      Canonical reference to application class loader
  • Constructor Details

  • Method Details

    • getName

      public Atom getName()
      Returns:
      the name of this class loader
    • getLanguage

      public Atom getLanguage()
      Returns:
      the name of the language this class loader belongs to
    • getParent

      public ClassLoaderReference getParent()
      Returns:
      the parent of this loader in the loader hierarchy, or null if none
    • equals

      public boolean equals(Object obj)
      Note: names for class loader references must be unique.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object