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
    `ClassFinder.MethodInfo(ClassFinder.ClassInfo info, Constructor constructor)`
    `ClassFinder.MethodInfo(ClassFinder.ClassInfo info, Method method)`
    `ClassFinder.MethodInfo(ClassFinder.ClassInfo declarignClass, String name, String returnType)`

  - ### Method Summary

    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

    - #### ClassFinder.MethodInfo

          public ClassFinder.MethodInfo(ClassFinder.ClassInfo info,
                                Constructor constructor)

    - #### ClassFinder.MethodInfo

          public ClassFinder.MethodInfo(ClassFinder.ClassInfo info,
                                Method method)

    - #### ClassFinder.MethodInfo

          public ClassFinder.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–2021 Apache Software Foundation. All rights reserved.