protected static class AgentBuilder.RedefinitionStrategy.Collector.ForRedefinition.Entry extends Object
Modifier | Constructor and Description |
---|---|
protected |
Entry(Class<?> type)
Creates a new entry for a given type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
Class<?> |
getType()
Returns the type that is being redefined.
|
int |
hashCode() |
protected ClassDefinition |
resolve(AgentBuilder.LocationStrategy locationStrategy)
Resolves the entry to a class definition.
|
String |
toString() |
protected Entry(Class<?> type)
type
- The type to be redefined.public Class<?> getType()
protected ClassDefinition resolve(AgentBuilder.LocationStrategy locationStrategy) throws IOException
locationStrategy
- A strategy for creating a class file locator.IOException
- If an I/O exception occurs.Copyright © 2014–2016. All rights reserved.