org.apache.tapestry5

## Interface PropertyConduit2

- All Superinterfaces:
    AnnotationProvider, PropertyConduit
  All Known Subinterfaces:
    InternalPropertyConduit
  All Known Implementing Classes:
    CoercingPropertyConduitWrapper, LiteralPropertyConduit

      public interface PropertyConduit2
      extends PropertyConduit

  Extension to `PropertyConduit` that adds a method to access the generic property type. `PropertyConduitSource` instances should ideally return PropertyConduit2 objects, not PropertyConduit. This is only primarily of interest to `Binding2`.
  Since:
    5.4

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Type` | `getPropertyGenericType()` Returns the generic type of the property

    - ### Methods inherited from interface org.apache.tapestry5.PropertyConduit

      `get, getPropertyType, set`

    - ### Methods inherited from interface org.apache.tapestry5.ioc.AnnotationProvider

      `getAnnotation`

- - ### Method Detail

    - #### getPropertyGenericType

          Type getPropertyGenericType()

      Returns the generic type of the property
      See Also:
        `Method.getGenericReturnType()`, `Field.getGenericType()`

5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.