removed method due to java8 compiler bug. see https://bugs.eclipse.org/bugs/show_bug.cgi?id=421922