public final class MethodDescriptor extends AbstractMethodDescriptor<Method> implements StaticExecutable
declaringType| Constructor and Description |
|---|
MethodDescriptor(TypeDescriptor declaringType,
Method method) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applies(TypeDescriptor typeDescriptor) |
boolean |
equals(Object obj) |
Method |
getElement() |
String |
getName() |
int |
getParameterCount() |
List<ParameterDescriptor> |
getParameters() |
List<Class<?>> |
getParameterTypes() |
Class<?> |
getRawReturnType() |
TypeDescriptor |
getReturnType() |
int |
hashCode() |
Object |
invoke(Object object,
Object... args) |
Object |
invokeStatic(Object... args) |
String |
toString() |
isAbstract, isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isSyntheticgetAnnotation, getAnnotations, getDeclaringType, hasAnnotationpublic MethodDescriptor(TypeDescriptor declaringType, Method method)
public TypeDescriptor getReturnType()
public Class<?> getRawReturnType()
public List<ParameterDescriptor> getParameters()
getParameters in interface StaticExecutablegetParameters in class AbstractMethodDescriptor<Method>public int getParameterCount()
public String getName()
public Object invokeStatic(Object... args)
invokeStatic in interface StaticExecutablepublic boolean equals(Object obj)
equals in class MemberDescriptorpublic int hashCode()
hashCode in class MemberDescriptorpublic boolean applies(TypeDescriptor typeDescriptor)
public Method getElement()
getElement in class JavaMemberDescriptor<Method>Copyright © 2017. All rights reserved.