public class BasicMethodInfo extends java.lang.Object implements MethodInfo
MethodInfo.| Constructor and Description |
|---|
BasicMethodInfo(MethodInfo method)
Creates a
BasicMethodInfo given a MethodInfo. |
BasicMethodInfo(@NotNull java.lang.String methodName,
@NotNull MethodDescriptor descriptor)
Creates a
BasicMethodInfo given a method name and descriptor. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
@NotNull MethodDescriptor |
getDescriptor()
Returns the method's descriptor.
|
@NotNull java.lang.String |
getMethodName()
Returns the method's name.
|
int |
hashCode() |
java.lang.String |
toString() |
public BasicMethodInfo(@NotNull
@NotNull java.lang.String methodName,
@NotNull
@NotNull MethodDescriptor descriptor)
BasicMethodInfo given a method name and descriptor.descriptor - a method descriptormethodName - a method namepublic BasicMethodInfo(MethodInfo method)
BasicMethodInfo given a MethodInfo.method - a method info@NotNull public @NotNull java.lang.String getMethodName()
MethodInfogetMethodName in interface MethodInfo@NotNull public @NotNull MethodDescriptor getDescriptor()
MethodInfogetDescriptor in interface MethodInfopublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object