Package org.apache.tapestry5.internal

## Class BeanEditContextImpl

- java.lang.Object
- - org.apache.tapestry5.internal.BeanEditContextImpl

- All Implemented Interfaces:
    `AnnotationProvider`, `BeanEditContext`

      public class BeanEditContextImpl
      extends Object
      implements BeanEditContext

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `BeanEditContextImpl​(Class<?> beanClass)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `<T extends Annotation> T` | `getAnnotation​(Class<T> type)` | Searches for the specified annotation, returning the matching annotation instance.
    `Class<?>` | `getBeanClass()` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BeanEditContextImpl

          public BeanEditContextImpl​(Class<?> beanClass)

  - ### Method Detail

    - #### getBeanClass

          public Class<?> getBeanClass()

      Specified by:
        `getBeanClass` in interface `BeanEditContext`
      Returns:
        The class of the bean under edit.

    - #### getAnnotation

          public <T extends Annotation> T getAnnotation​(Class<T> type)

      Description copied from interface: `AnnotationProvider`
      Searches for the specified annotation, returning the matching annotation instance.
      Specified by:
        `getAnnotation` in interface `AnnotationProvider`
      Parameters:
        `type` - used to select the annotation to return
      Returns:
        the annotation, or null if not found