<divclass="inheritance"title="Inheritance Tree"><ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">java.lang.Object</a>
<divclass="type-signature"><spanclass="modifiers">public class </span><spanclass="element-name type-name-label">PingMethodReflection</span>
<spanclass="extends-implements">extends <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></span></div>
<divclass="col-first even-row-color method-summary-table-tab1 method-summary-table-tab4 method-summary-table"><code>static <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/invoke/MethodHandle.html"title="class or interface in java.lang.invoke"class="external-link">MethodHandle</a>[]</code></div>
<divclass="col-second even-row-color method-summary-table-tab1 method-summary-table-tab4 method-summary-table"><code><spanclass="member-name-link"><ahref="#getMethods(java.lang.Class,java.lang.Class,java.lang.String,java.lang.String)">getMethods</a></span>​(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Class.html"title="class or interface in java.lang"class="external-link">Class</a><?> craftPlayerClass,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Class.html"title="class or interface in java.lang"class="external-link">Class</a><?> entityPlayer,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> methodName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fieldName)</code></div>
<h3id="methods.inherited.from.class.java.lang.Object">Methods inherited from class java.lang.<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></h3>
<code><ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#clone()"title="class or interface in java.lang"class="external-link">clone</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"title="class or interface in java.lang"class="external-link">equals</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#finalize()"title="class or interface in java.lang"class="external-link">finalize</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#getClass()"title="class or interface in java.lang"class="external-link">getClass</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#hashCode()"title="class or interface in java.lang"class="external-link">hashCode</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#notify()"title="class or interface in java.lang"class="external-link">notify</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#notifyAll()"title="class or interface in java.lang"class="external-link">notifyAll</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#toString()"title="class or interface in java.lang"class="external-link">toString</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#wait()"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#wait(long)"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Object.html#wait(long,int)"title="class or interface in java.lang"class="external-link">wait</a></code></div>
<divclass="member-signature"><spanclass="modifiers">public static</span> <spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/invoke/MethodHandle.html"title="class or interface in java.lang.invoke"class="external-link">MethodHandle</a>[]</span> <spanclass="element-name">getMethods</span>​<spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Class.html"title="class or interface in java.lang"class="external-link">Class</a><?> craftPlayerClass,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/Class.html"title="class or interface in java.lang"class="external-link">Class</a><?> entityPlayer,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> methodName,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> fieldName)</span>
throws <spanclass="exceptions"><ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/IllegalAccessException.html"title="class or interface in java.lang"class="external-link">IllegalAccessException</a>,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/NoSuchFieldException.html"title="class or interface in java.lang"class="external-link">NoSuchFieldException</a>,
<ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/NoSuchMethodException.html"title="class or interface in java.lang"class="external-link">NoSuchMethodException</a></span></div>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/NoSuchMethodException.html"title="class or interface in java.lang"class="external-link">NoSuchMethodException</a></code> - Method doesn't exist</dd>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/IllegalAccessException.html"title="class or interface in java.lang"class="external-link">IllegalAccessException</a></code> - Method can't be accessed</dd>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/NoSuchFieldException.html"title="class or interface in java.lang"class="external-link">NoSuchFieldException</a></code> - Field can't be accessed</dd>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/16/docs/api/java.base/java/lang/IllegalArgumentException.html"title="class or interface in java.lang"class="external-link">IllegalArgumentException</a></code> - Something else</dd>