com.fasterxml.classmate.members
Class ResolvedMethod
java.lang.Object
com.fasterxml.classmate.members.ResolvedMember
com.fasterxml.classmate.members.ResolvedMethod
public final class ResolvedMethod
- extends ResolvedMember
| Methods inherited from class com.fasterxml.classmate.members.ResolvedMember |
applyDefault, applyOverride, applyOverrides, get, getDeclaringType, getModifiers, getName, isFinal, isPrivate, isProtected, isPublic, isStatic, toString |
_method
protected final Method _method
_returnType
protected final ResolvedType _returnType
_argumentTypes
protected final ResolvedType[] _argumentTypes
_hashCode
protected final int _hashCode
ResolvedMethod
public ResolvedMethod(ResolvedType context,
Annotations ann,
Method method,
ResolvedType returnType,
ResolvedType[] argumentTypes)
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.