@Override public void setAtoms(IAtom[] atoms) { if (atoms.length > 0 && atoms[0] instanceof IQueryAtom) { super.setAtoms(atoms); } else { throw new IllegalArgumentException("Array is not of type QueryAtom[]"); } }
@Override public void setAtoms(IAtom[] atoms) { if (atoms.length > 0 && atoms[0] instanceof IQueryAtom) { super.setAtoms(atoms); } else { throw new IllegalArgumentException("Array is not of type QueryAtom[]"); } }