method deprecated in IDEA 12, removed in IDEA 13. Not compatible with IDEA 11.