com.fasterxml.classmate.members
Class ResolvedMethod

java.lang.Object
  extended by com.fasterxml.classmate.members.ResolvedMember
      extended by com.fasterxml.classmate.members.ResolvedMethod

public class ResolvedMethod
extends ResolvedMember


Field Summary
protected  ResolvedType[] _argumentTypes
           
protected  Method _method
           
protected  ResolvedType _returnType
           
 
Fields inherited from class com.fasterxml.classmate.members.ResolvedMember
_annotations, _declaringType
 
Constructor Summary
ResolvedMethod(ResolvedType context, Annotations ann, Method method, ResolvedType returnType, ResolvedType[] argumentTypes)
           
 
Method Summary
 boolean equals(Object o)
           
 int getArgumentCount()
          Returns number of arguments method takes.
 ResolvedType getArgumentType(int index)
           
 Method getRawMember()
          Returns JDK object that represents member.
 ResolvedType getReturnType()
           
 ResolvedType getType()
          Returns type of this member; if it has one, for methods this is the return type, for fields field type, and for constructors null.
 
Methods inherited from class com.fasterxml.classmate.members.ResolvedMember
applyDefault, applyOverride, applyOverrides, getDeclaringType, getModifiers, getName, hashCode, isAbstract, isStatic, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_method

protected final Method _method

_returnType

protected final ResolvedType _returnType

_argumentTypes

protected final ResolvedType[] _argumentTypes
Constructor Detail

ResolvedMethod

public ResolvedMethod(ResolvedType context,
                      Annotations ann,
                      Method method,
                      ResolvedType returnType,
                      ResolvedType[] argumentTypes)
Method Detail

getRawMember

public Method getRawMember()
Description copied from class: ResolvedMember
Returns JDK object that represents member.

Specified by:
getRawMember in class ResolvedMember

getType

public ResolvedType getType()
Description copied from class: ResolvedMember
Returns type of this member; if it has one, for methods this is the return type, for fields field type, and for constructors null.

Specified by:
getType in class ResolvedMember

getReturnType

public ResolvedType getReturnType()

getArgumentCount

public int getArgumentCount()
Returns number of arguments method takes.


getArgumentType

public ResolvedType getArgumentType(int index)

equals

public boolean equals(Object o)
Overrides:
equals in class Object


Copyright © 2011 fasterxml.com. All Rights Reserved.