com.opensymphony.xwork2.util.finder

## Class ClassFinder.AnnotationInfo

- java.lang.Object
- - com.opensymphony.xwork2.util.finder.ClassFinder.Annotatable
  - - com.opensymphony.xwork2.util.finder.ClassFinder.AnnotationInfo

- All Implemented Interfaces:
    ClassFinder.Info
  Enclosing interface:
    ClassFinder

      public static class ClassFinder.AnnotationInfo
      extends ClassFinder.Annotatable
      implements ClassFinder.Info

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AnnotationInfo(Annotation annotation)`
    `AnnotationInfo(Class<? extends Annotation> annotation)`
    `AnnotationInfo(String name)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getName()`
    `String` | `toString()`

    - ### Methods inherited from class com.opensymphony.xwork2.util.finder.ClassFinder.Annotatable

      `getAnnotations`

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

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

    - ### Methods inherited from interface com.opensymphony.xwork2.util.finder.ClassFinder.Info

      `getAnnotations`

- - ### Constructor Detail

    - #### AnnotationInfo

          public AnnotationInfo(Annotation annotation)

    - #### AnnotationInfo

          public AnnotationInfo(Class<? extends Annotation> annotation)

    - #### AnnotationInfo

          public AnnotationInfo(String name)

  - ### Method Detail

    - #### getName

          public String getName()

      Specified by:
        `getName` in interface `ClassFinder.Info`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2000–2026 Apache Software Foundation. All rights reserved.