public static interface FieldAccessor.FieldLocator
Modifier and Type | Interface and Description |
---|---|
static interface |
FieldAccessor.FieldLocator.Factory
A factory for creating a
FieldAccessor.FieldLocator . |
static class |
FieldAccessor.FieldLocator.ForGivenType
A field locator that only looks up fields that are defined for a given type.
|
static class |
FieldAccessor.FieldLocator.ForInstrumentedType
A factory that only looks up fields in the instrumented type.
|
static class |
FieldAccessor.FieldLocator.ForInstrumentedTypeHierarchy
A field locator that finds a type by traversing the type hierarchy beginning with fields defined
in the most specific subclass traversing the class hierarchy down to the least specific type.
|
Modifier and Type | Method and Description |
---|---|
FieldDescription |
locate(String name,
boolean staticMethod)
Locates a field of a given name or throws an exception if no field with such a name exists.
|
FieldDescription locate(String name, boolean staticMethod)
name
- The name of the field to locate.staticMethod
- true
if the intercepted method is static.Copyright © 2014–2016. All rights reserved.