com.opensymphony.xwork2.util.finder

## Class ClassFinder.FieldInfo

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

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

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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `FieldInfo(ClassFinder.ClassInfo info, Field field)`
    `FieldInfo(ClassFinder.ClassInfo declaringClass, String name, String type)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ClassFinder.ClassInfo` | `getDeclaringClass()`
    `String` | `getName()`
    `String` | `getType()`
    `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

    - #### FieldInfo

          public FieldInfo(ClassFinder.ClassInfo info,
                           Field field)

    - #### FieldInfo

          public FieldInfo(ClassFinder.ClassInfo declaringClass,
                           String name,
                           String type)

  - ### Method Detail

    - #### getName

          public String getName()

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

    - #### getDeclaringClass

          public ClassFinder.ClassInfo getDeclaringClass()

    - #### getType

          public String getType()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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