public synchronized Definition addOverride ( Class < ? > clazz , TextColor foreground , TextColor background , SGR ... styles ) { Definition definition = new Definition ( new Style ( foreground , background , styles ) ) ; overrideDefinitions . put ( clazz , definition ) ; return definition ; }
Adds an override for a particular class or overwrites a previously defined override .