Record Class ClassLoaderReference
java.lang.Object
java.lang.Record
com.ibm.wala.types.ClassLoaderReference
- Record Components:
name- A String which identifies this loaderlanguage- A String which identifies the language for this loaderparent- This class loader's parent
- All Implemented Interfaces:
Serializable
public record ClassLoaderReference(Atom name, Atom language, ClassLoaderReference parent)
extends Record
implements Serializable
Defines the meta-information that identifies a class loader. This is effectively a "name" for a
class loader.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ClassLoaderReferenceCanonical reference to application class loaderstatic final ClassLoaderReferenceCanonical reference to extension class loaderstatic final AtomCanonical name for the Java languagestatic final ClassLoaderReferenceCanonical reference to primordial class loader -
Constructor Summary
ConstructorsConstructorDescriptionClassLoaderReference(Atom name, Atom language, ClassLoaderReference parent) Creates an instance of aClassLoaderReferencerecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.Deprecated, for removal: This API element is subject to removal in a future version.getName()Deprecated, for removal: This API element is subject to removal in a future version.Usename()insteadDeprecated, for removal: This API element is subject to removal in a future version.Useparent()insteadinthashCode()Returns a hash code value for this object.language()Returns the value of thelanguagerecord component.name()Returns the value of thenamerecord component.parent()Returns the value of theparentrecord component.toString()Returns a string representation of this record class.
-
Field Details
-
Java
Canonical name for the Java language -
Primordial
Canonical reference to primordial class loader -
Extension
Canonical reference to extension class loader -
Application
Canonical reference to application class loader
-
-
Constructor Details
-
Method Details
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.Usename()instead -
getLanguage
Deprecated, for removal: This API element is subject to removal in a future version.Uselanguage()instead -
getParent
Deprecated, for removal: This API element is subject to removal in a future version.Useparent()instead -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
hashCode
-
toString
-
name
-
language
-
parent
-
language()instead