public static class ClassFileLocator.AgentBased.ClassLoadingDelegate.ForDelegatingClassLoader.JavaField.ForNonResolvedField extends Object implements ClassFileLocator.AgentBased.ClassLoadingDelegate.ForDelegatingClassLoader.JavaField
ClassFileLocator.AgentBased.ClassLoadingDelegate.ForDelegatingClassLoader.JavaField.ForNonResolvedField, ClassFileLocator.AgentBased.ClassLoadingDelegate.ForDelegatingClassLoader.JavaField.ForResolvedField
Constructor and Description |
---|
ForNonResolvedField(Exception exception)
Creates a representation of a non-resolved field.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
Object |
readValue(Object instance)
Reads a value from the underlying field.
|
String |
toString() |
public ForNonResolvedField(Exception exception)
exception
- The exception that occurred when attempting to locate the field.public Object readValue(Object instance) throws Exception
ClassFileLocator.AgentBased.ClassLoadingDelegate.ForDelegatingClassLoader.JavaField
readValue
in interface ClassFileLocator.AgentBased.ClassLoadingDelegate.ForDelegatingClassLoader.JavaField
instance
- The instance to read from.Exception
- If the field's value cannot be read.Copyright © 2014–2015. All rights reserved.