com.opensymphony.xwork2.util.finder

## Class ClassFinder.MethodInfo

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

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

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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MethodInfo(ClassFinder.ClassInfo info, Constructor<?> constructor)`
    `MethodInfo(ClassFinder.ClassInfo info, Method method)`
    `MethodInfo(ClassFinder.ClassInfo declarignClass, String name, String returnType)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ClassFinder.ClassInfo` | `getDeclaringClass()`
    `String` | `getName()`
    `List<List<ClassFinder.AnnotationInfo>>` | `getParameterAnnotations()`
    `List<ClassFinder.AnnotationInfo>` | `getParameterAnnotations(int index)`
    `String` | `getReturnType()`
    `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

    - #### MethodInfo

          public MethodInfo(ClassFinder.ClassInfo info,
                            Constructor<?> constructor)

    - #### MethodInfo

          public MethodInfo(ClassFinder.ClassInfo info,
                            Method method)

    - #### MethodInfo

          public MethodInfo(ClassFinder.ClassInfo declarignClass,
                            String name,
                            String returnType)

  - ### Method Detail

    - #### getParameterAnnotations

          public List<List<ClassFinder.AnnotationInfo>> getParameterAnnotations()

    - #### getParameterAnnotations

          public List<ClassFinder.AnnotationInfo> getParameterAnnotations(int index)

    - #### getName

          public String getName()

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

    - #### getDeclaringClass

          public ClassFinder.ClassInfo getDeclaringClass()

    - #### getReturnType

          public String getReturnType()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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