类 BasicMethodInfo
- java.lang.Object
-
- proguard.classfile.BasicMethodInfo
-
- 所有已实现的接口:
MethodInfo
public class BasicMethodInfo extends java.lang.Object implements MethodInfo
A minimal implementation ofMethodInfo.
-
-
构造器概要
构造器 构造器 说明 BasicMethodInfo(@NotNull java.lang.String methodName, @NotNull MethodDescriptor descriptor)Creates aBasicMethodInfogiven a method name and descriptor.BasicMethodInfo(MethodInfo method)Creates aBasicMethodInfogiven aMethodInfo.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(java.lang.Object o)@NotNull MethodDescriptorgetDescriptor()Returns the method's descriptor.@NotNull java.lang.StringgetMethodName()Returns the method's name.inthashCode()java.lang.StringtoString()
-
-
-
构造器详细资料
-
BasicMethodInfo
public BasicMethodInfo(@NotNull @NotNull java.lang.String methodName, @NotNull @NotNull MethodDescriptor descriptor)Creates aBasicMethodInfogiven a method name and descriptor.- 参数:
descriptor- a method descriptormethodName- a method name
-
BasicMethodInfo
public BasicMethodInfo(MethodInfo method)
Creates aBasicMethodInfogiven aMethodInfo.- 参数:
method- a method info
-
-
方法详细资料
-
getMethodName
@NotNull public @NotNull java.lang.String getMethodName()
从接口复制的说明:MethodInfoReturns the method's name.- 指定者:
getMethodName在接口中MethodInfo
-
getDescriptor
@NotNull public @NotNull MethodDescriptor getDescriptor()
从接口复制的说明:MethodInfoReturns the method's descriptor.- 指定者:
getDescriptor在接口中MethodInfo
-
equals
public boolean equals(java.lang.Object o)
- 覆盖:
equals在类中java.lang.Object
-
hashCode
public int hashCode()
- 覆盖:
hashCode在类中java.lang.Object
-
toString
public java.lang.String toString()
- 覆盖:
toString在类中java.lang.Object
-
-