Class FieldLocator.ForClassHierarchy

    • Field Detail

      • typeDescription

        private final TypeDescription typeDescription
        The type for which to look up a field within its class hierarchy.
    • Constructor Detail

      • ForClassHierarchy

        public ForClassHierarchy​(TypeDescription typeDescription)
        Creates a field locator that looks up fields that are declared within a class's class hierarchy.
        Parameters:
        typeDescription - The type for which to look up a field within its class hierarchy which is also the accessing type.
      • ForClassHierarchy

        public ForClassHierarchy​(TypeDescription typeDescription,
                                 TypeDescription accessingType)
        Creates a field locator that looks up fields that are declared within a class's class hierarchy.
        Parameters:
        typeDescription - The type for which to look up a field within its class hierarchy.
        accessingType - The accessing type.