Import line breaks between imports
Throw IllegalArgumentExceptions if appropriate
Replaced addClassName() with getClassName() since we cannot add a class
name with a single statements as JavaComposite expects one line of code
per call to add().