Stupidly long class name or a geeky poem?

In the JRE is a stupidly long class name, only a code generator could produce such a long name. (Which the developer of the code generator never checked I assume)

com.sun.java.swing.plaf.nimbus. InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState


Or is it a geeky poem burried in the code?

InternalFrame InternalFrame 
Title Pane,
Internal Frame
Title Pane.

Maximize Button Window,
Not Focused State.


The moral of the story, always check the readability/sanity of generated code.

Comments

Popular posts from this blog

Java is Very Fast, If You Don’t Create Many Objects

Low Latency Microservices, A Retrospective

Unusual Java: StackTrace Extends Throwable