public void visitConstantInteger(ConstantInteger obj){ if (obj.getTag() != Constants.CONSTANT_Integer){ throw new ClassConstraintException("Wrong constant tag in '"+tostring(obj)+"'."); } // no indices to check } public void visitConstantFloat(ConstantFloat obj){
@Override public void visitConstantInteger(final ConstantInteger obj) { if (obj.getTag() != Const.CONSTANT_Integer) { throw new ClassConstraintException("Wrong constant tag in '"+tostring(obj)+"'."); } // no indices to check } @Override