Java tutorial
//package com.java2s; import java.lang.reflect.Method; public class Main { static public Method isMethodImplemented(Object obj, String methodName) { Method[] methods = obj.getClass().getDeclaredMethods(); for (Method m : methods) { if (m.getName().contains(methodName)) { return m; } } return null; } }