JAVA using reflection
public static void main(String[] args) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException {
Golf golf = new Golf();
golf.notALoop();
}
static class Golf{
public void notALoop() throws NoSuchMethodException, InvocationTargetException, IllegalAccessException {
System.out.println("Its not directly calling it self");
Method method = this.getClass().getMethod("notALoop");
method.invoke(this);
}
}