public static class FieldLocator.ForTopLevelType extends FieldLocator.AbstractBase
| Modifier and Type | Class and Description |
|---|---|
static class |
FieldLocator.ForTopLevelType.Factory
A factory for locating a field in a top-level type.
|
FieldLocator.AbstractBase, FieldLocator.ForClassHierarchy, FieldLocator.ForExactType, FieldLocator.ForTopLevelType, FieldLocator.NoOp, FieldLocator.ResolutionaccessingType| Modifier | Constructor and Description |
|---|---|
protected |
ForTopLevelType(TypeDescription typeDescription)
Creates a new type locator for a top-level type.
|
| Modifier and Type | Method and Description |
|---|---|
protected FieldList<?> |
locate(ElementMatcher<? super FieldDescription> matcher)
Locates fields that match the given matcher.
|
locate, locateprotected ForTopLevelType(TypeDescription typeDescription)
typeDescription - The type to access.protected FieldList<?> locate(ElementMatcher<? super FieldDescription> matcher)
FieldLocator.AbstractBaselocate in class FieldLocator.AbstractBasematcher - The matcher that identifies fields of interest.Copyright © 2014–2019. All rights reserved.