Blog >> Post

What’s the longest class name you’ve ever seen?

Java

When trying to do code completion for “Hashtable”, I was instead presented with this incredibly long class name! Priceless!

HasThisTypePatternTriedToSneakInSomeGenericOrParameterizedTypePatternMatchingStuffAnywhereVisitor

Believe it or not, it really does exist. It’s contained within package “org.aspectj.weaver.patterns”, and can be verified here: http://www.springsource.com/repository/app/bundle/version/export?name=com.springsource.org.aspectj.matcher&version=1.6.8.RELEASE&package=org.aspectj.weaver.patterns

Has anyone else found anything longer than that? Now I’m curious to know what else is out there!

I’m also beginning to wonder whether a new site needs to be created called www.codecompleteme.com in the same spirit as www.autocompleteme.com :-)

One Response

Write Comment

  1. by Rajan | July 27th, 2011 at 7:10 am

    This is the longest class name I have ever seen.
    OTA_AirAvailRSOriginDestinationOptionFlightSegmentTPA_ExtensionsDaysOfOperationOperationScheduleOperationTimesOperationTime

Leave a Reply