• Teemu Andersén's avatar
    Add @SuppressWarnings("unused") to generated Java classes · 5dd8795a
    Teemu Andersén authored
    Usually generators add @SuppressWarnings("all") to generated Java
    classes to prevent IDEs from complaining about unused imports, etc.
    Solving used imports seems pretty hard with current generator logic so
    IMO this is the next best thing.
    
    Yes, it’s appended to import block but that is the block that gives
    these warnings in the first place.
    5dd8795a
idl_gen_general.cpp 43.1 KB