Main.platform
Main.getLayerManager()
JOSMTestRules
Main.main.[add|remove]Layer
Utils.setObjectsAccessible