Buggy code:
public class CeylonLabelProvider extends StyledCellLabelProvider implements CeylonResources , DelegatingStyledCellLabelProvider . IStyledLabelProvider , ILabelProvider { private Set < ILabelProviderListener > fListeners = new HashSet < ILabelProviderListener > ( ) ; public static final Point BIG_SIZE = new Point ( 22 , 16 ) ; public static final Point SMALL_SIZE = new Point ( 16 , 16 ) ; private final boolean smallSize ; public static final int WARNING = 1 << 2 ; public static final int ERROR = 1 << 3 ; private static final int REFINES = 1 << 4 ; private static final int IMPLEMENTS = 1 << 5 ; private static final int FORMAL = 1 << 6 ; private static final int ABSTRACT = 1 << 7 ; private static final int VARIABLE = 1 << 8 ; private static final int ANNOTATION = 1 << 9 ; private static final int ENUM = 1 << 10 ; private static final int ALIAS = 1 << 11 ; private static final int DEPRECATED = 1 << 12 ; private static final int CEYLON_NATURE = 1 << 12 ; static final DecorationDescriptor [ ] DECORATIONS = new DecorationDescriptor [ ] { new DecorationDescriptor ( CeylonLabelProvider . WARNING , WARNING_IMAGE , BOTTOM_LEFT ) , new DecorationDescriptor ( CeylonLabelProvider . ERROR , ERROR_IMAGE , BOTTOM_LEFT ) , new DecorationDescriptor ( CeylonLabelProvider . REFINES , REFINES_IMAGE , BOTTOM_RIGHT ) , new DecorationDescriptor ( CeylonLabelProvider . IMPLEMENTS , IMPLEMENTS_IMAGE , BOTTOM_RIGHT ) , new DecorationDescriptor ( CeylonLabelProvider . FORMAL , FINAL_IMAGE , TOP_RIGHT ) , new DecorationDescriptor ( CeylonLabelProvider . ABSTRACT , ABSTRACT_IMAGE , TOP_RIGHT ) , new DecorationDescriptor ( CeylonLabelProvider . VARIABLE , VARIABLE_IMAGE , TOP_LEFT ) , new DecorationDescriptor ( CeylonLabelProvider . ANNOTATION , ANNOTATION_IMAGE , TOP_LEFT ) , new DecorationDescriptor ( CeylonLabelProvider . ENUM , ENUM_IMAGE , TOP_LEFT ) , new DecorationDescriptor ( CeylonLabelProvider . ALIAS , ALIAS_IMAGE , TOP_LEFT ) , new DecorationDescriptor ( CeylonLabelProvider . DEPRECATED , DEPRECATED_IMAGE , IDecoration . UNDERLAY ) } ; public CeylonLabelProvider ( ) { } public CeylonLabelProvider ( boolean smallSize ) { } protected static Image getDecoratedImage ( Object element , String key , boolean smallSize ) { } public static Image getDecoratedImage ( String key , int decorationAttributes , boolean smallSize ) { } @ Override public Image getImage ( Object element ) { } protected String getImageKey ( Object element ) { } public boolean isModule ( IPackageFragment element ) { } public static String getImageKeyForFile ( IFile element ) { } public static String getImageKeyForNode ( Node n ) { } private static String getImageKeyForDeclarationNode ( Tree . Declaration n ) { } public static Image getImageForDeclaration ( Declaration element ) { } public static Image getImageForFile ( IFile file ) { } private static String getImageKeyForDeclaration ( Declaration d ) { } @ Override public StyledString getStyledText ( Object element ) { } @ Override public String getText ( Object element ) { } private static void appendPostfixType ( Tree . TypedDeclaration td , StyledString label ) { } public static StyledString getStyledLabelForNode ( Node node ) { } private static boolean isNonempty ( Tree . ImportPath p ) { } private static String toPath ( Tree . ImportPath p ) { } private static StyledString type ( Tree . Type type , Tree . TypedDeclaration node ) { } private static String name ( Tree . Identifier id ) { } private static void parameters ( Tree . ParameterList pl , StyledString label ) { } private static void parameters ( Tree . TypeParameterList tpl , StyledString label ) { } @ Override public void addListener ( ILabelProviderListener listener ) { } @ Override public void dispose ( ) { } @ Override public boolean isLabelProperty ( Object element , String property ) { } @ Override public void removeListener ( ILabelProviderListener listener ) { } @ Override public void update ( ViewerCell cell ) { } public static void appendTypeName ( StyledString result , ProducedType type ) { } public static void appendTypeName ( StyledString result , ProducedType type , Styler styler ) { try { String typeName = type . getProducedTypeName ( ) ; <START_BUG> StringTokenizer tokens = new StringTokenizer ( typeName , "|&?[]{}*+=-<>(),<seq2seq4repair_space>" , true ) ; <END_BUG> while ( tokens . hasMoreTokens ( ) ) { String token = tokens . nextToken ( ) ; if ( Character . isLetter ( token . charAt ( 0 ) ) ) { result . append ( token , styler ) ; } else { result . append ( token ) ; } } } catch ( Exception e ) { e . printStackTrace ( ) ; } } public static int getDecorationAttributes ( Object entity ) { } public static int getNodeDecorationAttributes ( Node node ) { } private static int getDecorationAttributes ( Declaration model ) { } static interface IMarkerFilter { boolean select ( IMarker marker ) { } } static CeylonLabelProvider . IMarkerFilter acceptAllMarkers = new CeylonLabelProvider . IMarkerFilter ( ) { @ Override public boolean select ( IMarker marker ) { } } ; static int getMaxProblemMarkerSeverity ( IResource res , int depth , CeylonLabelProvider . IMarkerFilter markerFilter ) { } static int getMaxProblemMarkerSeverity ( IResource res , int depth ) { } public static String getLabel ( Package packageModel ) { } public static String getLabel ( Module moduleModel ) { } public static String getPackageLabel ( Node decl ) { } public static String getModuleLabel ( Node decl ) { } public static String getModuleLabel ( Declaration decl ) { } public static String getPackageLabel ( Declaration decl ) { } private static String getRefinementIconKey ( Declaration dec ) { } public static Image getRefinementIcon ( Declaration dec ) { } }

Fix:
StringTokenizer tokens = new StringTokenizer ( typeName , "|&?[]{}*+=-<>(),.<seq2seq4repair_space>" , true ) ;