~~ bugs
++ Diagnostics for illegal platform names
++ Descriptors added to newMethod() signature
++ DiagnosticHolder added to GenerationState
++ Do not generated declarations with names missing
rewrite: ++ Do not generated declarations with names missing
++ Do not initialize properties in LIGHT_CLASSES mode
++ Do not skip local classes in top-level functions
++ DiagnosticHolder added to GenerationState