com.fasterxml.classmate.members
Class ResolvedMethod

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

public final class ResolvedMethod
extends ResolvedMember


Field Summary
protected  ResolvedType[] _argumentTypes
           
protected  int _hashCode
           
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.
 int hashCode()
           
 boolean isAbstract()
           
 boolean isNative()
           
 boolean isStrict()
           
 boolean isSynchronized()
           
 
Methods inherited from class com.fasterxml.classmate.members.ResolvedMember
applyDefault, applyOverride, applyOverrides, get, getDeclaringType, getModifiers, getName, isFinal, isPrivate, isProtected, isPublic, 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

_hashCode

protected final int _hashCode
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

isAbstract

public boolean isAbstract()

isStrict

public boolean isStrict()

isNative

public boolean isNative()

isSynchronized

public boolean isSynchronized()

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)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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


Copyright © 2012 fasterxml.com. All Rights Reserved.