Code:
Class tClass = aEye.getClass();
Method[] methods = tClass.getMethods();
for (int i = 0; i < methods.length; i++) {
// filter out super class methodes :
if (!methods[i].toString().contains("Object")) {
System.out.println("public method: " + methods[i]);
}
}
replace aEye with any other class instance
:morph: