Bug 161848 [JFace] Javadoc quality in org.eclipse.jface
As Tod announced on the platform-ui mailing list he wants to set the compiler settings to stricter mode so to ensure the javadoc quality. Because the weather was so lousy in Austria today I tried it and took the effort (~2 hours). I'll attach the patches package wise. This is a starting point.
bundles/org.eclipse.jface/src/org/eclipse/jface/layout/LayoutGenerator.java
boolean containsText = hasMethod(control, "setText", new Class[] { String.class }); 
        
        
        
        boolean userEditable = !hasStyle(control, SWT.READ_ONLY) && containsText && hasMethod(control, "addModifyListener", new Class[] { ModifyListener.class }); 
        
        if (userEditable) {
            if (hasStyle(control, SWT.MULTI)) {
                vScroll = true;
            }
            if (!wrapping) {
                hScroll = true;
            }
        }
        
        int hHint = SWT.DEFAULT;
        boolean grabHorizontal = hScroll;
        
        
        
        if (hScroll) {
            hHint = defaultSize.x;
        } else {