public static class FieldLocator.ForClassHierarchy extends FieldLocator.AbstractBase
| Modifier and Type | Class and Description | 
|---|---|
| static class  | FieldLocator.ForClassHierarchy.FactoryA factory for creating a  FieldLocator.ForClassHierarchy. | 
FieldLocator.AbstractBase, FieldLocator.ForClassHierarchy, FieldLocator.ForExactType, FieldLocator.NoOp, FieldLocator.ResolutionaccessingType| Constructor and Description | 
|---|
| ForClassHierarchy(TypeDescription typeDescription)Creates a field locator that looks up fields that are declared within a class's class hierarchy. | 
| ForClassHierarchy(TypeDescription typeDescription,
                 TypeDescription accessingType)Creates a field locator that looks up fields that are declared within a class's class hierarchy. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(Object object) | 
| int | hashCode() | 
| protected FieldList<?> | locate(ElementMatcher<? super FieldDescription> matcher)Locates fields that match the given matcher. | 
| String | toString() | 
locate, locatepublic ForClassHierarchy(TypeDescription typeDescription)
typeDescription - The type for which to look up a field within its class hierarchy which is also the accessing type.public ForClassHierarchy(TypeDescription typeDescription, TypeDescription accessingType)
typeDescription - The type for which to look up a field within its class hierarchy.accessingType - The accessing type.protected FieldList<?> locate(ElementMatcher<? super FieldDescription> matcher)
FieldLocator.AbstractBaselocate in class FieldLocator.AbstractBasematcher - The matcher that identifies fields of interest.public boolean equals(Object object)
equals in class FieldLocator.AbstractBasepublic int hashCode()
hashCode in class FieldLocator.AbstractBaseCopyright © 2014–2016. All rights reserved.