Package net.bytebuddy.agent.builder
Class AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.LookupKey
- java.lang.Object
-
- net.bytebuddy.agent.builder.AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.LookupKey
-
- Enclosing class:
- AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled
protected static class AgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.LookupKey extends java.lang.ObjectA key for a class loader that can only be used for looking up a preexisting value but avoids reference management.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.ClassLoaderclassLoaderThe represented class loader.private inthashCodeThe represented class loader's hash code or0if this entry represents the bootstrap class loader.
-
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 represented class loader.
-
hashCode
private final int hashCode
The represented class loader's hash code or0if this entry represents the bootstrap class loader.
-
-
Constructor Detail
-
LookupKey
protected LookupKey(@MaybeNull java.lang.ClassLoader classLoader)
Creates a new lookup key.- Parameters:
classLoader- The represented class 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
-
-