Package de.geolykt.starloader.deobf

# Class MethodReference

java.lang.Object
de.geolykt.starloader.deobf.MethodReference

public class MethodReference extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MethodReference(String owner, String desc, String name)`
  `MethodReference(String owner, org.objectweb.asm.tree.MethodNode node)`
  `MethodReference(org.objectweb.asm.tree.MethodInsnNode instruction)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `equals(Object obj)`
  `String`
  `getDesc()`
  Obtains the method descriptor of the referenced method
  `String`
  `getName()`
  `String`
  `getOwner()`
  Obtains the simple internal name of the owner.
  `int`
  `hashCode()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### MethodReference

    public MethodReference(org.objectweb.asm.tree.MethodInsnNode instruction)

  - ### MethodReference

    public MethodReference(String owner, org.objectweb.asm.tree.MethodNode node)

  - ### MethodReference

    public MethodReference(String owner, String desc, String name)

- ## Method Details

  - ### equals

    public boolean equals(Object obj)
    Overrides:
      `equals` in class `Object`

  - ### getDesc

    public String getDesc()
    Obtains the method descriptor of the referenced method
    Returns:
      The method descriptor

  - ### getName

    public String getName()

  - ### getOwner

    public String getOwner()
    Obtains the simple internal name of the owner. This means it will be like this: "org/example/ClassName"
    Returns:
      The simple internal name of the owner

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`