Class RepositoryParserUtils.ParamAnnotationParanamer

java.lang.Object
com.thoughtworks.paranamer.AnnotationParanamer
io.github.blyznytsiaorg.bibernate.dao.utils.RepositoryParserUtils.ParamAnnotationParanamer
All Implemented Interfaces:
com.thoughtworks.paranamer.Paranamer
Enclosing class:
RepositoryParserUtils

private static class RepositoryParserUtils.ParamAnnotationParanamer extends com.thoughtworks.paranamer.AnnotationParanamer
Custom implementation of AnnotationParanamer to handle the @Param annotation.
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.thoughtworks.paranamer.AnnotationParanamer

    com.thoughtworks.paranamer.AnnotationParanamer.Jsr330Helper
  • Field Summary

    Fields inherited from class com.thoughtworks.paranamer.AnnotationParanamer

    __PARANAMER_DATA

    Fields inherited from interface com.thoughtworks.paranamer.Paranamer

    EMPTY_NAMES
  • Constructor Summary

    Constructors
    Constructor
    Description
    ParamAnnotationParanamer(com.thoughtworks.paranamer.Paranamer fallback)
    Constructs a new ParamAnnotationParanamer with the specified fallback paranamer.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    Retrieves the named value from the @Param annotation.
    protected boolean
    Checks if the given annotation is of type @Param.

    Methods inherited from class com.thoughtworks.paranamer.AnnotationParanamer

    lookupParameterNames, lookupParameterNames

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ParamAnnotationParanamer

      public ParamAnnotationParanamer(com.thoughtworks.paranamer.Paranamer fallback)
      Constructs a new ParamAnnotationParanamer with the specified fallback paranamer.
      Parameters:
      fallback - The fallback paranamer.
  • Method Details

    • getNamedValue

      protected String getNamedValue(Annotation ann)
      Retrieves the named value from the @Param annotation.
      Overrides:
      getNamedValue in class com.thoughtworks.paranamer.AnnotationParanamer
      Parameters:
      ann - The annotation.
      Returns:
      The named value if the annotation is of type @Param, otherwise null.
    • isNamed

      protected boolean isNamed(Annotation ann)
      Checks if the given annotation is of type @Param.
      Overrides:
      isNamed in class com.thoughtworks.paranamer.AnnotationParanamer
      Parameters:
      ann - The annotation.
      Returns:
      True if the annotation is of type @Param, otherwise false.