com.opensymphony.xwork2.util.finder
Class ClassFinder.MethodInfo

java.lang.Object
  extended by com.opensymphony.xwork2.util.finder.ClassFinder.Annotatable
      extended by com.opensymphony.xwork2.util.finder.ClassFinder.MethodInfo
All Implemented Interfaces:
ClassFinder.Info
Enclosing class:
ClassFinder

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


Field Summary
private  ClassFinder.ClassInfo declaringClass
           
private  String name
           
private  List<List<ClassFinder.AnnotationInfo>> parameterAnnotations
           
private  String returnType
           
 
Constructor Summary
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
 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
 

Field Detail

declaringClass

private final ClassFinder.ClassInfo declaringClass

returnType

private final String returnType

name

private final String name

parameterAnnotations

private final List<List<ClassFinder.AnnotationInfo>> parameterAnnotations
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-2009 Apache Software Foundation. All Rights Reserved.