Interface ViewModelAnnotationResolver

All Known Implementing Classes:
DefaultViewModelAnnotationResolver

public interface ViewModelAnnotationResolver
The annotation resolver to handle annotations in view model.
Since:
9.6.0
Author:
jameschu
  • Method Details

    • getAnnotation

      <T extends Annotation> T getAnnotation(Method method, Class<T> annotationClass)
      Get the specific annotation from the method
      Parameters:
      method -
      annotationClass -
      Returns:
      T annotation
      Since:
      9.6.0
    • getAnnotation

      <T extends Annotation> T getAnnotation(Class clazz, Class<T> annotationClass)
      Get the specific annotation from the class
      Parameters:
      clazz -
      annotationClass -
      Returns:
      T annotation
      Since:
      9.6.0
    • getOriginalMethod

      Method getOriginalMethod(Object base, Method method)
      Get original method (if proxied)
      Parameters:
      base -
      method -
      Returns:
      Method
      Since:
      9.6.0