if (elements.size() == 0) { return false; }
    private boolean identicalTypes(List elements, IJavaProject project) throws JavaModelException {        Object firstElement= elements.get(0);        int firstType= getType(firstElement, project);        for(int i= 1; i < elements.size(); i++) {            if(firstType != getType(elements.get(i), project))                return false;        }        return true;    }