An anonymous reader was chatting with their fellow developers on Slack. They work for a telecom, and thus have to support software and hardware from a variety of vendors. In one Apple-provided API, they found this method.

ALUnlockWebServiceRequest appleUnlockWSRequest = new ALUnlockWebServiceRequest();
appleUnlockWSRequest.getAddPendingUnlockDeviceRequestAndCheckUnlockStatusDeviceRequestAndRemoveUnlockDeviceRequest();

The code in image form, with the caption, 'new contender for longest method name'

Now, that is a pretty long method name, and it’s certainly a WTF. That said, Java has classes like this one, and there’s always Spring, if you want to find something really long. Besides, it’s not the length of the name that’s important, it’s how you invoke it.

[Advertisement] BuildMaster allows you to create a self-service release management platform that allows different teams to manage their applications. Explore how!