Package net.bytebuddy
Class TypeCache.LookupKey
- java.lang.Object
-
- net.bytebuddy.TypeCache.LookupKey
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.ClassLoaderclassLoaderThe referenced class loader ornullfor the bootstrap loader.private inthashCodeThe class loader's identity hash code.
-
Constructor Summary
Constructors Modifier Constructor Description protectedLookupKey(java.lang.ClassLoader classLoader)Creates a new lookup key.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)inthashCode()
-
-
-
Field Detail
-
classLoader
@MaybeNull private final java.lang.ClassLoader classLoader
The referenced class loader ornullfor the bootstrap loader.
-
hashCode
private final int hashCode
The class loader's identity hash code.
-
-
Constructor Detail
-
LookupKey
protected LookupKey(@MaybeNull java.lang.ClassLoader classLoader)
Creates a new lookup key.- Parameters:
classLoader- The represented class loader ornullfor the bootstrap loader.
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(@MaybeNull java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
-