Class FieldLocator.ForExactType.Factory

    • Constructor Summary

      Constructors 
      Constructor Description
      Factory​(TypeDescription typeDescription)
      Creates a new factory for a field locator that locates a field for an exact type.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FieldLocator make​(TypeDescription typeDescription)
      Creates a field locator for a given type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • typeDescription

        private final TypeDescription typeDescription
        The type for which to locate a field.
    • Constructor Detail

      • Factory

        public Factory​(TypeDescription typeDescription)
        Creates a new factory for a field locator that locates a field for an exact type.
        Parameters:
        typeDescription - The type for which to locate a field.
    • Method Detail

      • make

        public FieldLocator make​(TypeDescription typeDescription)
        Creates a field locator for a given type.
        Specified by:
        make in interface FieldLocator.Factory
        Parameters:
        typeDescription - The type for which to create a field locator.
        Returns:
        A suitable field locator.